On this page

Show all

Help Center/ CodeArts Build/ FAQs/ Android Builds/ Why Am I Seeing the Error Message "Could not find method google()"?

Why Am I Seeing the Error Message "Could not find method google()"?

Updated on 2024-11-18 GMT+08:00

Symptoms

After the Gradle plug-in is upgraded to version 3.0, the corresponding Gradle needs to be upgraded to version 4.1. If Gradle 4.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

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback