le540850072 2020-03-19 18:10 采纳率: 100%
浏览 2852
已采纳

Android studio绿色安装到3.6.1出现错误 (The following AndroidX dependencies are detected)

项目没有迁移到AndroidX,只是项目中之前在依赖androidx.annotation:annotation:1.0.1 。 这样的依赖在之前(3.5.3)的IDE中没有出现异常提示,在绿色安装了3.6.1之后就出现了提示:

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.1

图片说明

  • 写回答

2条回答 默认 最新

  • le540850072 2021-09-17 08:41
    关注

    忘了怎么解决的了。现在慢慢的升级,我已经在使用IDE4.2.2了。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 已采纳回答 9月17日