Version 28 (intended for Android Pie and below) is the last version of the legacy support library, so we recommend that you migrate to AndroidX libraries when using Android Q and moving forward. The IDE can help with this: Refactor > Migrate to AndroidX
今天整理代码的时候,发现我的app gradle 出现了上面那句话
简单的来讲是google不支持support库了,建议转换到androidX库
操作也很简单
选择 Migrate to AndroidX
然后选择文件
就可以了