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

voddan

09/27/2018, 12:40 PM
Hello! I started getting
Cannot change dependencies of configuration ':app:debugCompile' after it has been included in dependency resolution
after I added kotlin serialization. It goes away if I comment out
apply plugin: 'com.google.gms.google-services'
. What can it be?
k

kingsley

09/27/2018, 12:43 PM
Do you use settings.gradle
pluginManagement
for resolving the android/google services plugin by any chance?
v

voddan

09/27/2018, 12:46 PM
@kingsley no I do not. Should I?
k

kingsley

09/27/2018, 12:48 PM
No. No. I had a similar problem using it
v

voddan

09/27/2018, 12:48 PM
What does the error message mean?
k

kingsley

09/27/2018, 12:53 PM
Best guess is that the google-services plugin is trying to modify the configuration too late into the build What version of the plugin are you using?
v

voddan

09/27/2018, 1:25 PM
@kingsley Awesome, that fixed it, thanks! BTW I think it is not the first time you help me out. Do you go to the konf?
k

kingsley

09/27/2018, 1:58 PM
Haha. Interesting. Glad it worked
We must have crossed paths on this Slack a couple of times for sure. And yes, I’ll be at KotlinConf 🙂
v

voddan

09/27/2018, 9:18 PM
@kingsley Awesome! I 'll be at amsterdam a couple of day before the konf, let be buy you a beer!
🍻 1