flutter_p2p icon indicating copy to clipboard operation
flutter_p2p copied to clipboard

Gradle Support for 1.3.10 and above

Open JICA98 opened this issue 5 years ago • 3 comments

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

JICA98 avatar Jul 11 '20 07:07 JICA98

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.

apmysore avatar Aug 20 '20 20:08 apmysore

Any update on this? Looks like development is discontinued

SupremNandalDev avatar Aug 28 '20 03:08 SupremNandalDev

@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.

apmysore avatar Aug 28 '20 05:08 apmysore