美文网首页
如何解决打包报错com.android.builder.inte

如何解决打包报错com.android.builder.inte

作者: 城东那个小丑 | 来源:发表于2020-02-19 15:21 被阅读0次

如何解决打包报错com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed

将对应组件编译版本改一下即可


image.png
Execution failed for task ':react-native-unity-view:verifyReleaseResources'.
> 1 exception was raised by workers:
  com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  /project/Vesal-Projects/AnatomyMaster/node_modules/react-native-unity-view/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
  /project/Vesal-Projects/AnatomyMaster/node_modules/react-native-unity-view/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
  /project/Vesal-Projects/AnatomyMaster/node_modules/react-native-unity-view/android/build/intermediates/res/merged/release/values/values.xml:2753: error: resource android:attr/fontVariationSettings not found.
  /project/Vesal-Projects/AnatomyMaster/node_modules/react-native-unity-view/android/build/intermediates/res/merged/release/values/values.xml:2754: error: resource android:attr/ttcIndex not found.
  error: failed linking references.

相关文章

网友评论

      本文标题:如何解决打包报错com.android.builder.inte

      本文链接:https://www.haomeiwen.com/subject/qnyafhtx.html