项目没有迁移到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