Android Studio 4.0 :This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled.

时间:2020-06-10 13:09:13   收藏:0   阅读:296

This project uses AndroidX dependencies, but the ‘android.useAndroidX‘ property is not enabled.

解决方案:

打开 gradle.properties

输入代码:

android.useAndroidX=true
android.enableJetifier=true

点击 Sync now

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!