Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Gradle Support for 1.3.10 and above #21

Open
JICA98 opened this issue Jul 11, 2020 · 3 comments
Open

Gradle Support for 1.3.10 and above #21

JICA98 opened this issue Jul 11, 2020 · 3 comments

Comments

@JICA98
Copy link

JICA98 commented Jul 11, 2020

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
@apmysore
Copy link

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.

@SupremNandalDev
Copy link

Any update on this?
Looks like development is discontinued

@apmysore
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants