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 cannot run successfully #12

Open
CoderBt opened this issue Mar 19, 2024 · 0 comments
Open

I cannot run successfully #12

CoderBt opened this issue Mar 19, 2024 · 0 comments

Comments

@CoderBt
Copy link

CoderBt commented Mar 19, 2024

I can create a new Flutter project and successfully run it,
But I encountered an error while running this Flutter project, as shown below;
I need help
——————————————————————————————
Launching lib\main.dart on NTN AN20 in debug mode...
[!] Your app isn't using AndroidX.
To avoid potential build failures, you can quickly migrate your app by following the steps on https://goo.gl/CP92wY .
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

  • What went wrong:
    Task 'assembleDebug' not found in root project 'android'.

  • Try:
    Run gradlew tasks to get a list of available tasks. 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 23s
ProcessException: Process exited abnormally with exit code 1:

Welcome to Gradle 7.2!

Here are the highlights of this release:

  • Toolchain support for Scala
  • More cache hits when Java source files have platform-specific line endings
  • More resilient remote HTTP build cache behavior

For more details see https://docs.gradle.org/7.2/release-notes.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

FAILURE: Build failed with an exception.

  • What went wrong:
    Project 'app' not found in root project 'android'.

  • 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: D:\zlxDownload\FlutterWithMediaPipe-main\android\gradlew.bat app:tasks --all --console=auto

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

1 participant