项目没有迁移到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
忘了怎么解决的了。现在慢慢的升级,我已经在使用IDE4.2.2了。
解决了吗,我也遇到同样的问题,我检查了我的项目没有使用androidx的痕迹 啊