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

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

解决方案:

打开 gradle.properties

输入代码:

android.useAndroidX=true
android.enableJetifier=true

点击 Sync now

posted on 2020-06-10 12:11  HBU_DAVID  阅读(2557)  评论(0编辑  收藏  举报

导航