dart_hub icon indicating copy to clipboard operation
dart_hub copied to clipboard

A problem occurred evaluating root project 'android'.

Open peace2knowledge opened this issue 7 years ago • 3 comments

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.

peace2knowledge avatar Jan 09 '18 02:01 peace2knowledge

similar

  • What went wrong: A problem occurred evaluating project ':shared_preferences'.

Could not find method google() for arguments [] on repository container.

bradintheusa avatar Jan 28 '18 19:01 bradintheusa

  • 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.

JeffZane avatar Apr 23 '18 07:04 JeffZane

Thanks for the reports folks. I should have some time to update the project and fix some of these issues in the near future.

SamThompson avatar Apr 26 '18 20:04 SamThompson