-
Notifications
You must be signed in to change notification settings - Fork 42
project ':flutter_p2p' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71 #23
Comments
Same! Any Solutions? |
In "your_project/android/build.gradle" file , under dependencies change classpath 'com.android.tools.build:gradle:3.5.0' to classpath 'com.android.tools.build:gradle:3.2.1' |
The apo runs in debug but not in apk release mode. Should use nearby connections api by google |
I am new in Flutter/Dart. However, I wrote a tiny application that tries to work with flutter_p2p. I have the same problem that is described above. I have changed com.android.tools.build:gradle:3.5.0 to com.android.tools.build:gradle:3.2.1. When I run the application and call to isLocationPermissionGranted, I receive the following error: E/flutter ( 3443): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: MissingPluginException(No implementation found for method isLocationPermissionGranted on channel de.mintware.flutter_p2p/flutter_p2p) What can I do in order to solve this issue. |
FAILURE: Build failed with an exception.
What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 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.
I have upgraded flutter to the latest version.Plz help me.
flutter doctor -v
The text was updated successfully, but these errors were encountered: