bizz84 / nested-navigation-demo-flutter

Nested navigation with BottomNavigationBar
https://codewithandrea.com/
MIT License
622 stars 139 forks source link

FAILURE: Build failed with an exception. (with solution to solve) #7

Closed jsroest closed 5 years ago

jsroest commented 5 years ago

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.

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!