https://kotlinlang.org logo
#android
Title
# android
j

Julien Biral

10/19/2017, 10:47 PM
add
google()
below
jcenter()
in your repositories
k

Kevin Janvier Chinabalire

10/19/2017, 10:57 PM
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

Julien Biral

10/19/2017, 11:24 PM
Are you using AS 3?
👍 1
f

francisco

10/19/2017, 11:28 PM
@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

gildor

10/20/2017, 1:35 AM
@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
6 Views