https://kotlinlang.org logo
Title
j

jurajsolarml

12/04/2018, 9:32 AM
Hello,please help.AS 3.2.1,Kotlin,Gradle 5.0.I'm writing a mistake. How do I fix it ? Thanks https://hastebin.com/irobokatax.nginx https://hastebin.com/lerifoluqu.http
g

gildor

12/04/2018, 9:33 AM
You forgot
google()
in repositories (both for plugins and dependencies) which required for Android Gradle plugin
👍 1
j

jurajsolarml

12/04/2018, 9:40 AM
Ok, it works, Thank you, I want to ask in the AS 3.4. Canary 6 when I edit a gradle and write after a letter so deleting letters is there any change how to edit gradle?
g

gildor

12/04/2018, 9:41 AM
Not sure that I understand what you mean Repository and basic Gradle config should be the same for any version of AS (at least 3.2-3.4)
j

jurajsolarml

12/04/2018, 9:43 AM
I can not edit text in Gradle, when I copy only to know
it just can not be cleared
g

gildor

12/04/2018, 9:44 AM
still not sure what is your problem
j

jurajsolarml

12/04/2018, 9:47 AM
I can not edit the GRADLE when I want to overwrite something
g

gildor

12/04/2018, 9:48 AM
What mean “edit the GRADLE”? You cannot edit
build.gradle
? It’s just text file
j

jurajsolarml

12/04/2018, 9:50 AM
when I write to Gradle in AS 3.4, we will delete the written text
Yes, but can not be edited,will delete my text when I edit
g

gildor

12/04/2018, 10:19 AM
maybe some IDE bug, not sure why this happening. Works fine for me tho
j

jurajsolarml

12/04/2018, 10:22 AM
ok
I'm posting a new sync error https://hastebin.com/bodubunuqa.sql
These errors occurred after the transition to Gradle 5.0. and AS 3.4. before it all went ok.
g

gildor

12/04/2018, 10:46 AM
are you sure that you have
google()
in repositories block (there are 2 block, one for builscript, one for other projects) Pretty sure you still do not add it to your module
j

jurajsolarml

12/05/2018, 10:21 AM
Ok, repaired