Android resource linking failed. error: resource android:attr/ttcIndex not found. error: resource...
16lz
2021-01-23
修复安卓build失败的问题
原因:第三方库自动更新build.gradle
配置信息,yarn install
之后对应信息更改,无法正常build
成功,会报错误
Android resource linking failed/Users/user/github/p8hApp/android/app/build/intermediates/incremental/mergeDevelopmentXiaomiDebugResources/merged.dir/values/values.xml:2296: error: resource android:attr/fontVariationSettings not found./Users/user/github/p8hApp/android/app/build/intermediates/incremental/mergeDevelopmentXiaomiDebugResources/merged.dir/values/values.xml:2296: error: resource android:attr/ttcIndex not found.error: failed linking references.
解决方法:android/
文件夹中build.gradle
添加
project.ext { googlePlayServicesVersion = "15.0.0" }
更多相关文章
- android 出错信息为:Class 'Anonymous class derived from Handle
- android修改Zxing源码,避免出现错误信息
- E28 (毅仁信息科技有限公司)展示Android触摸屏实机
- android平台解析epub格式的书籍信息
- Android设备信息管理工具类
- 获取Android各种系统信息
- Android 获取SIM卡内信息(TelephonyManager)