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

时间:2020-06-10 13:52:29   收藏:0   阅读:531

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

解决方案:

打开 gradle.properties

输入代码:

android.useAndroidX=true
android.enableJetifier=true

点击 Sync now

原文:https://www.cnblogs.com/hbuwyg/p/13084235.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!