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

jurajsolarml

12/06/2018, 12:14 PM
Hello,please help.AS 3.4. Canary 6,Kotlin,Gradle 5.0.I'm writing a bugs.The application can not run. The error occurred after the transition to AS 3.4. I use Java 11. I tried JAVU 8 without change. How do I fix it? Thank you
g

gildor

12/06/2018, 1:16 PM
Move out plugin application out of dependencies block
j

jurajsolarml

12/06/2018, 1:30 PM
do you have the idea to clear the google-service plugin?
g

gildor

12/06/2018, 1:46 PM
clear it?
j

jurajsolarml

12/06/2018, 1:47 PM
Yes
g

gildor

12/06/2018, 1:47 PM
I don’t understand what you mean
You have this error because you try to apply this plugin from dependencies block and this resolved to dependencies configuration lookup instead of plugin application
j

jurajsolarml

12/06/2018, 1:51 PM
After deleting the plugin google-services: https://hastebin.com/fubobeyuya.http
Can I send you an app to view it pls ?
g

gildor

12/06/2018, 3:23 PM
Maybe some bug with Gradle 5.1-miletone1, this is some exception with build cache, try to delete it probably,this is pre-release version, I wouldn’t recommend to use it if you don’t have particular reasons.
j

jurajsolarml

12/06/2018, 3:56 PM
g

gildor

12/06/2018, 4:05 PM
as I said, some problem with Gradle itself, try to use Gradle 5.0
j

jurajsolarml

12/06/2018, 4:30 PM
I changed to 5.0 Gradle the same bug, I also wrote to Channel Gradle
j

jurajsolarml

12/06/2018, 6:54 PM
I tried to clear the cache and .gradle and Upgrade on Canary 7 all the same, did not help https://pastebin.com/jBMktgEw
This helped me, Upgrade, Apk Works: https: //stackoverflow.com/questions/29087882/android-studio-run-debug-configuration-error-module-not-specified/29087954
2 Views