BUILD FAILED in 0s
Command: /Users/johannesroest/repos/nested_navigation_demo_flutter/android/gradlew app:properties
Finished with error: Please review your Gradle project setup in the android/ folder.
Flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.6 18G87, locale nl-NL)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] iOS tools - develop for iOS devices
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.37.1)
[✓] Connected device (2 available)
Hi Andrea,
When I check this out and try to run the project, I get the following error:
FAILURE: Build failed with an exception.
Solution: delete the android and ios folder and recreate using: flutter create --template=app .
You can find the complete error message and flutter doctor here below:
Keep up the good work! Regards, Sander Roest
complete error: Launching lib/main.dart on Android SDK built for x86 64 in debug mode... Initializing gradle... Resolving dependencies...
FAILURE: Build failed with an exception.
Where: Build file '/Users/johannesroest/repos/nested_navigation_demo_flutter/android/build.gradle' line: 26
What went wrong: A problem occurred evaluating root project 'android'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 0s Command: /Users/johannesroest/repos/nested_navigation_demo_flutter/android/gradlew app:properties
Finished with error: Please review your Gradle project setup in the android/ folder.
Flutter doctor: Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.6 18G87, locale nl-NL) [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 10.3) [✓] iOS tools - develop for iOS devices [✓] Android Studio (version 3.5) [✓] VS Code (version 1.37.1) [✓] Connected device (2 available)
• No issues found!