Android dependency '..' has different version for the compile (..) and runtime (..) classpath

后端 未结 5 415
情深已故
情深已故 2020-12-29 04:44

I migrated to Android Studio 3 and Gradle 4. Then I changed compile to implementation in my build.gradle files. But I get the error:



        
5条回答
  •  无人及你
    2020-12-29 05:19

    Changing the version of google-services over the top level gradle file fixed the issue for me. It seems the older version is indirectly injecting the firebase-core versions and updating the firebase version explicitly makes the conflict

    classpath 'com.google.gms:google-services:4.0.2' // Just updated the version here.
    

提交回复
热议问题