Skip to content

how to build apk? #14

@Troverun

Description

@Troverun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions