Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am getting Kotlin Gradle plugin version error #16

Closed
NTMS2017 opened this issue Jan 16, 2019 · 8 comments
Closed

I am getting Kotlin Gradle plugin version error #16

NTMS2017 opened this issue Jan 16, 2019 · 8 comments

Comments

@NTMS2017
Copy link

  • Error running Gradle:
    ProcessException: Process "/Users/niyazitoros/IdeaProjects/capital_face/android/gradlew" exited abnormally:

FAILURE: Build failed with an exception.

  • What went wrong:
    The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'get_version' is using version 1.1.51.

  • 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

BUİLD FAILED in 2s
Command: /Users/niyazitoros/IdeaProjects/capital_face/android/gradlew app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

@rodydavis
Copy link
Owner

Ok I will try to upgrade the Android side. Thank you

@NTMS2017
Copy link
Author

Thanks

@mpnonato
Copy link

mpnonato commented Mar 4, 2019

Hi, I'm facing exactly the same issue. Thanks

@nick-morhun
Copy link

nick-morhun commented Mar 12, 2019

After I updated get_version dependency, it says

"A problem occurred evaluating project ':app'.

versionCode not found. Define flutter.versionCode in the local.properties file."

which I am trying to do but apparently this file is regenerated on Debug and my changes get erased.

@rodydavis
Copy link
Owner

rodydavis commented Mar 12, 2019 via email

@rodydavis
Copy link
Owner

ok @nick-morhun check now 👍

@nick-morhun
Copy link

Thank you, now it works!

@rodydavis
Copy link
Owner

rodydavis commented Mar 13, 2019 via email

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

No branches or pull requests

4 participants