Could not find method google()
Symptoms
After the Gradle plug-in is upgraded to v3.0, the corresponding Gradle needs to be upgraded to v4.1. If Gradle v4.1 is not found, the following error is displayed:
Could not find method google() for arguments [] on repository container
Solution
Use Gradle v4.1 or later versions.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.