标签: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