Error running Gradle
gousta opened this issue · 3 comments
gousta commented
flutter run
Launching lib/main.dart on ONEPLUS A5010 in debug mode...
Initializing gradle... 0.7s
Resolving dependencies...
- Error running Gradle:
ProcessException: Process "/Users/pixarise/Code/page-transformer/android/gradlew" exited abnormally:
BUILD FAILED
Total time: 0.606 secs
FAILURE: Build failed with an exception.
-
Where:
Build file '/Users/pixarise/Code/page-transformer/android/build.gradle' line: 3 -
What went wrong:
A problem occurred evaluating root project 'android'.
Could not find method google() for arguments [] on repository container.
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Command: /Users/pixarise/Code/page-transformer/android/gradlew app:properties
Please review your Gradle project setup in the android/ folder.
mohammadne commented
same issue
QuentinSc commented
same
Sopamo commented
Make sure to run flutter pub get
before flutter run
to download the dependencies.