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

后端 未结 5 421
情深已故
情深已故 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:21

    I upgraded compileSdkVersion & targetSdkVersion to 28 and I also faced this same error.

    I upgraded all the dependencies version in app.gradle to 28.0.0 and also in project .gradle file upgraded com.android.tools.build:gradle to 3.3.2

    i.e classpath 'com.android.tools.build:gradle:3.3.2'

    After this project synced successfully

提交回复
热议问题