Hello,please <help.AS> 3.2.1,Kotlin,Gradle 5.0.I'm...
# android
j
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
You forgot
google()
in repositories (both for plugins and dependencies) which required for Android Gradle plugin
đź‘Ť 1
j
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
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
I can not edit text in Gradle, when I copy only to know
it just can not be cleared
g
still not sure what is your problem
j
I can not edit the GRADLE when I want to overwrite something
g
What mean “edit the GRADLE”? You cannot edit
build.gradle
? It’s just text file
j
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
maybe some IDE bug, not sure why this happening. Works fine for me tho
j
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
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
Ok, repaired