依赖冲突

Caused by: java.lang.NoSuchFieldError: No field BottomNavigationView_itemTextAppearanceInactive of type I in class Lcom/google/android/material/Rstyleable; or its superclasses (declaration of 'com.google.android.material.Rstyleable' appears in /data/app/com.xunfa.housechiefapp-1/base.apk:classes2.dex)

引用了一个第三方依赖,提示 No field xx of type I in class ,资源冲突,看提示是com.google.android.material,把当前的com.google.android.material:material:1.4.0改成跟依赖的包相同的com.google.android.material:material:1.3.0-alpha03,编译通过

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容