Comments (11)
Please write the output of flutter --version
. Are you testing with a real device or an Android Emulator? Which Android version are you using? Please give also a minimal code example to reproduce the problem.
from flutter_p2p.
here's the return of flutter --version
~/Bureau/flutterp2p$ flutter --version
Flutter 1.12.13+hotfix.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 0b8abb4724 (il y a 3 semaines) • 2020-02-11 11:44:36 -0800
Engine • revision e1e6ced81d
Tools • Dart 2.7.0
And this is what I get when I run the build.
FAILURE: Build failed with an exception.
-
What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
project ':flutter_p2p' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71 -
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 30s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
from flutter_p2p.
And when I put in the requested version, it doesn't play either.
from flutter_p2p.
Sorry for the delay. I'll take a look on that this week
from flutter_p2p.
All right. Thanks for looking into it.
from flutter_p2p.
What happen with this bug? I wanted to give it a try but got this same error.
I was searching for fix and maybe you can try this: https://stackoverflow.com/a/54858719/3579284
p.s. Can this be tested on two different emulators?
from flutter_p2p.
I'm sorry but I'm busy AF at the moment. If anyone will try to fix this, PRs are welcome.
@SteffNite I didn't try it on emulators so I can not say if it would work
from flutter_p2p.
This error is fixed on PR
from flutter_p2p.
There is no version solving error but another problem with the MissingPluginException as per below
.
Unhandled Exception: MissingPluginException(No implementation found for method isLocationPermissionGranted on channel de.mintware.flutter_p2p/flutter_p2p)
from flutter_p2p.
Hey! I am getting this error and can't find my way around it. I did go through StackOverflow but the fixes didn't work for me.
FAILURE: Build failed with an exception.
-
What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
project ':flutter_p2p' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71 -
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 12s
Exception: Gradle task assembleDebug failed with exit code 1
from flutter_p2p.
If anyone is still looking for a workaround (not a fix):
Downgrade the com.android.tools.build:gradle: to <flutter_p2p plugin's gradle version>
In my case it was: com.android.tools.build:gradle:3.2.1
This can be found in android/build.gradle file
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
google()
jcenter()
}
dependencies {
// classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
from flutter_p2p.
Related Issues (18)
- iOS support HOT 8
- Failed to handle method call HOT 1
- there's an issue at startup the program HOT 2
- Gradle Plugin version(Kotlin version) issue HOT 3
- error launching the example app HOT 2
- Missing Plugin Exception Can't Run The WifiEvents HOT 2
- Flutter_p2p version error while launching Example code HOT 3
- Exception: Gradle task assembleDebug failed with exit code -1
- No update on any issue in a long time HOT 2
- Gradle Support for 1.3.10 and above HOT 3
- Mismatch in the repository example and pub.dev example
- project ':flutter_p2p' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71 HOT 5
- Cannot find the `flutter.plugin.platforms` key in the `pubspec.yaml` file. HOT 3
- Null Safety HOT 1
- The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher. HOT 1
- FlutterP2p.discoverDevices() not working HOT 8
- onDone方法不起作用
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_p2p.