flutter_p2p
flutter_p2p copied to clipboard
Gradle Support for 1.3.10 and above
I'm getting this error while building the app. 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
I got the same error too, I tried downgrading ext.kotlin_version to 1.2.71 as per the p2p package, it still does not build successfully.
Any update on this? Looks like development is discontinued
@SupremNandalDev , I was able to get it to compile and install successfully after downgrading kotlin to 1.2.71. Just make sure to close and re-open Android studio for it to take effect. I am able to establish a successful p2p connection between my two devices to send data using this package.