添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
会搭讪的领结  ·  Arm ...·  3 周前    · 
淡定的胡萝卜  ·  闪退问题·  3 周前    · 
风流倜傥的烈马  ·  【問題】FB DC ...·  2 周前    · 
率性的羽毛球  ·  GitHub - ...·  2 周前    · 
痛苦的米饭  ·  战神改装谁与争锋 ...·  2 年前    · 

java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed #337

@mobilestar1221

Description

I met this issue when I built signed apk in react native.
My gradle version is 4.10.1 and gradle plugin version is 3.3.2

This is message I got.
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found.
error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:7: error: resource android:attr/colorError not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:11: error: resource android:attr/colorError not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values\values.xml:2710: error: resource android:attr/fontStyle not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values\values.xml:2711: error: resource android:attr/font not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values\values.xml:2712: error: resource android:attr/fontWeight not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values\values.xml:2713: error: resource android:attr/fontVariationSettings not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values\values.xml:2714: error: resource android:attr/ttcIndex not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values\values.xml:2795: error: resource android:attr/startX not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values\values.xml:2798: error: resource android:attr/startY not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values\values.xml:2801: error: resource android:attr/endX not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values\values.xml:2804: error: resource android:attr/endY not found.
E:\projects\react_native\prototype-kazuhide\node_modules\react-native-cookies\android\build\intermediates\res\merged\release\values\values.xml:2812: error: resource android:attr/offset not found.
error: failed linking references.

Any ideas?