All the AndroidX versions different from the compile

后端 未结 5 821
轮回少年
轮回少年 2021-01-12 14:30

I\'ve migrated my project to AndroidX cause i was having some errors, but now i\'m receiving a loop of errors that the androidX class has a different version from the compil

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-12 14:32

    If the problem persists, you might want to upgrade the gradle version in android/build.grandle

    Change:

    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
    }
    

    To:

    dependencies {
        classpath 'com.android.tools.build:gradle:3.3.1'//latest version
    }
    

    You should also update your Kotlin version.

提交回复
热议问题