您当前的位置: 首页 >  android

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4642博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

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

柳鲲鹏 发布时间:2020-08-30 08:03:51 ,浏览量:0

具体错误:

This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled. Set this property to true in the gradle.properties file and retry.
The following AndroidX dependencies are detected: androidx.annotation:annotation:1.0.2
Affected Modules: app

找到gradle.properties,增加:

android.useAndroidX=true
android.enableJetifier=true

 

关注
打赏
1665724893
查看更多评论
立即登录/注册

微信扫码登录

0.0515s