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

how to build apk? #14

Open
Troverun opened this issue Apr 25, 2019 · 1 comment
Open

how to build apk? #14

Troverun opened this issue Apr 25, 2019 · 1 comment

Comments

@Troverun
Copy link

Initializing gradle... 1.7s
Resolving dependencies...

  • Error running Gradle:
    ProcessException: Process "G:\FlutterSource\HelloFlutter\android\gradlew.bat"
    exited abnormally:
    Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be
    reused, use --status for details

Configure project :app
google-services plugin could not detect any version for com.google.android.gms
or com.google.firebase, default version: 9.0.0 will be used.
please apply google-services plugin at the bottom of the build file.
WARNING: Configuration 'compile' is obsolete and has been replaced with
'implementation' and 'api'.
It will be removed at the end of 2018. For more information see:
http://d.android.com/r/tools/update-dependency-configurations.html
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)

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 'android' 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

BUILD FAILED in 1m 42s
Command: G:\FlutterSource\HelloFlutter\android\gradlew.bat app:properties

Please review your Gradle project setup in the android/ folder.

@ramanjitsingh-hub
Copy link

what happens when you Run --stacktrace and Run with --info or --debug
option

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

2 participants