"Could not find method google() for arguments [] on repository container " error message

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi,

While running gradle assemble.

it throwing following error like,

"Parallel execution is an incubating feature.

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

in command prompt.

Kindly help me resolve this issue.

Thanks,

@Vasanth Kumar RameshKumar​

The above issue occurs when gradle wrapper version is below 4.1

by default visualizer adds compatible gradle versions for android

if you are modifying build.gradle using gradle entries section or androidprecompiletask.xml

please use below lines of code instead of google()

maven {

url 'https://maven.google.com'

}

Please share your dist\AppFolder\build.gradle and dist\AppFolder\gradle\wrapper\gradle-wrapper.properties files

Please let us know if you still face any issues?

Hi Team, I am facing the same kind of issue.

Sharing the requested files here., Please solve.

WOrking on Viz7.3 version, android build is aborting without finishing