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
然后選擇文件
就可以了