add `google()` below `jcenter()` in your repositor...
# android
j
add
google()
below
jcenter()
in your repositories
k
Not working Gradle sync failed: Could not find method google() for arguments [] on repository container. Consult IDE log for more details (Help | Show Log)
j
Are you using AS 3?
👍 1
f
@Kevin Janvier Chinabalire for me it always helps out to create a brand new project from Android Studio 3.0 and see how the build.gradle is structured. Being able to see a project that compiles and comparing it with your project can be helpful. Just do new project, blank activity and take a look at the root build.gradle. Hope it helps!
g
@Kevin Janvier Chinabalire You need a new version of Gradle (current version 4.2). Or just replace
google()
with
maven { url "<https://maven.google.com>" }
👍 2