Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running Gradle #9

Open
gousta opened this issue Dec 28, 2018 · 3 comments · May be fixed by #10
Open

Error running Gradle #9

gousta opened this issue Dec 28, 2018 · 3 comments · May be fixed by #10

Comments

@gousta
Copy link

gousta commented Dec 28, 2018

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.

@gousta gousta linked a pull request Dec 28, 2018 that will close this issue
@mohammadne
Copy link

same issue

@QuentinSc
Copy link

same

@Sopamo
Copy link

Sopamo commented Oct 29, 2019

Make sure to run flutter pub get before flutter run to download the dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants