Hello! I started getting `Cannot change dependenci...
# android
v
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
Do you use settings.gradle
pluginManagement
for resolving the android/google services plugin by any chance?
v
@kingsley no I do not. Should I?
k
No. No. I had a similar problem using it
v
What does the error message mean?
k
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
@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
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
@kingsley Awesome! I 'll be at amsterdam a couple of day before the konf, let be buy you a beer!
🍻 1