美文网首页
resource android:attr/lStar not

resource android:attr/lStar not

作者: 是阿亮鸭 | 来源:发表于2022-12-05 11:45 被阅读0次

原因:第三方依赖库里使用了高版本的androdx.core,而项目本身使用的版本低于该版本

解决:强制使用固定旧版本的androidx.core

app - build.gradle - defaultConfig节点里添加:
configurations.all {resolutionStrategy { force 'androidx.core:core:1.6.0' }}

*另若错误信息为以下这串也可以尝试以上方法:
The minCompileSdk (31) specified in XXXXXX is greater than this module's compileSdkVersion (android-29). Dependency: androidx.core:core:1.7.0.

相关文章

网友评论

      本文标题:resource android:attr/lStar not

      本文链接:https://www.haomeiwen.com/subject/pcudfdtx.html