dart_hub
dart_hub copied to clipboard
A problem occurred evaluating root project 'android'.
Launching lib\main.dart on MI 6 in debug mode... Initializing gradle... Resolving dependencies...
- Error running Gradle: Exit code 1 from: D:\opensource\dart_hub\android\gradlew.bat app:properties:
FAILURE: Build failed with an exception.
-
Where: Build file 'D:\opensource\dart_hub\android\build.gradle' line: 23
-
What went wrong: A problem occurred evaluating root project 'android'.
A problem occurred configuring project ':app'. Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':shared_preferences'. > Failed to notify project evaluation listener. > com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V
-
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
Finished with error: Please review your Gradle project setup in the android/ folder.
similar
- What went wrong: A problem occurred evaluating project ':shared_preferences'.
Could not find method google() for arguments [] on repository container.
- What went wrong: A problem occurred evaluating root project 'android'.
A problem occurred configuring project ':app'. Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':shared_preferences'. > buildToolsVersion is not specified.
Thanks for the reports folks. I should have some time to update the project and fix some of these issues in the near future.