You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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:
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
The text was updated successfully, but these errors were encountered: