zoukankan      html  css  js  c++  java
  • Task :rn-splash-screen:verifyReleaseResources FAILED

    Execution failed for task ':rn-splash-screen:verifyReleaseResources'.

    > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
    /Users/zhouenxiao/Desktop/xiaoxiao/node_modules/rn-splash-screen/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:7: error: resource android:attr/colorError not found.
    /Users/zhouenxiao/Desktop/xiaoxiao/node_modules/rn-splash-screen/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:11: error: resource android:attr/colorError not found.
    /Users/zhouenxiao/Desktop/xiaoxiao/node_modules/rn-splash-screen/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
    /Users/zhouenxiao/Desktop/xiaoxiao/node_modules/rn-splash-screen/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
    /Users/zhouenxiao/Desktop/xiaoxiao/node_modules/rn-splash-screen/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
    /Users/zhouenxiao/Desktop/xiaoxiao/node_modules/rn-splash-screen/android/build/intermediates/res/merged/release/values/values.xml:2718: error: resource android:attr/fontStyle not found.
    /Users/zhouenxiao/Desktop/xiaoxiao/node_modules/rn-splash-screen/android/build/intermediates/res/merged/release/values/values.xml:2719: error: resource android:attr/font not found.
    /Users/zhouenxiao/Desktop/xiaoxiao/node_modules/rn-splash-screen/android/build/intermediates/res/merged/release/values/values.xml:2720: error: resource android:attr/fontWeight not found.
    /Users/zhouenxiao/Desktop/xiaoxiao/node_modules/rn-splash-screen/android/build/intermediates/res/merged/release/values/values.xml:2721: error: resource android:attr/fontVariationSettings not found.
    /Users/zhouenxiao/Desktop/xiaoxiao/node_modules/rn-splash-screen/android/build/intermediates/res/merged/release/values/values.xml:2722: error: resource android:attr/ttcIndex not found.
    error: failed linking references.

     

    解决方案:

    进入第三方模块中(node_modules/rn-splash-screen/android/build.gradle)

    将第三方模块中的sdk版本改成与项目中android/build.gradle中的sdk版本一致即可,其他第三方组件报这样的错误也适用

  • 相关阅读:
    python字符串
    python定义多点坐标_绘制折线_计算起始点和终点
    python进制转化
    python画奥运五环
    python的注释方法行连接符
    python的命名和帮助命令查看关键字
    python的turtle模块画图
    汇编语言
    python自动化办公【第三节 判断语句】
    python自动化办公【第二节 运算及数据类型等【不断修订中】】
  • 原文地址:https://www.cnblogs.com/lude1994/p/11075723.html
Copyright © 2011-2022 走看看