Tinker sample 报错 找不到android.support.annotation.Keep

参考:https://blog.csdn.net/qq_34177302/article/details/106574640

在这里插入图片描述

在工程目录下gradle.properties添加

#表示将依赖包也迁移到AndroidX
android.enableJetifier=true

这里如果取值为 false ,表示不迁移依赖包到AndroidX,但在使用依赖包中的内容时可能会出现问题。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章