Android Studio 4.0 :This project uses AndroidX dependencies, but the 'android.useAndroidX' p

Posted Notebook

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android Studio 4.0 :This project uses AndroidX dependencies, but the 'android.useAndroidX' p相关的知识,希望对你有一定的参考价值。

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

解决方案:

打开 gradle.properties

输入代码:

android.useAndroidX=true
android.enableJetifier=true

点击 Sync now

以上是关于Android Studio 4.0 :This project uses AndroidX dependencies, but the 'android.useAndroidX' p的主要内容,如果未能解决你的问题,请参考以下文章