reactnative吧 关注:1,855贴子:3,792
  • 11回复贴,共1

跪求rn大神 error: resource android:attr/ttcIndex not found.

只看楼主收藏回复

昨天android的项目都能正常运行 为啥今天一运行就报错了呢 .xml 文件 error: resource android:attr/fontVariationSettings not found. 和error: resource android:attr/ttcIndex not found.
找不到 网上的方法全试过了 都不行啊 而且 别的同事的android也跑步起来了 求救


IP属地:辽宁1楼2019-06-18 21:16回复
    请问 解决了么 ? 我的也是这样 一天了 都快崩溃了 如果 不安装 react-native-device-info 这个依赖 我的项目就就能跑起来 也不知道 对你有咩有帮助


    IP属地:北京2楼2019-06-19 10:32
    收起回复
      2026-01-09 01:34:59
      广告
      不感兴趣
      开通SVIP免广告
      两种方法可以解决 第一种 react-native-device-info 更新 成 2.1.2,第二种 在 anrdoid/bulid.gradle 下面 添加 googlePlayServicesVersion = "15.0.0"


      IP属地:北京3楼2019-06-19 11:37
      收起回复