码迷,mamicode.com
首页 > 其他好文 > 详细

Task :rn-splash-screen:verifyReleaseResources FAILED

时间:2019-06-24 10:39:10      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:font   corn   var   http   set   current   aapt   nod   nbsp   

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版本一致即可,其他第三方组件报这样的错误也适用

 

Task :rn-splash-screen:verifyReleaseResources FAILED

标签:font   corn   var   http   set   current   aapt   nod   nbsp   

原文地址:https://www.cnblogs.com/lude1994/p/11075723.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!