WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

运行不起来,什么肥事? #3

@yslings

Description

@yslings

H:\app\Flutter_YYeTs>flutter run
Launching lib/main.dart on MI 6 in debug mode...
Initializing gradle... 1.4s
Resolving dependencies...

  • Error running Gradle:
    ProcessException: Process "H:\app\Flutter_YYeTs\android\gradlew.bat" exited abnormally:

FAILURE: Build failed with an exception.

  • Where:
    Build file 'H:\app\Flutter_YYeTs\android\app\build.gradle' line: 16

  • What went wrong:
    A problem occurred evaluating project ':app'.

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

  • 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 1s
Command: H:\app\Flutter_YYeTs\android\gradlew.bat app:properties

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

H:\app\Flutter_YYeTs>

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