-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed #337
Comments
@mobilestar1221 any luck on this? I'm running into it as well after upgrading my project to react-native 0.59 |
So far, I used to use keytool command line to generate a signed apk. |
Anyone have any luck? |
Did you try to build with android studio? |
@mobilestar1221 I've tried building with both android studio and through command line, same issue. |
Did you try this in android studio? |
Yeah I've tried, I'll keep looking into it but it's still not working. |
I have this error: Execution failed for task ':app:mergeReleaseResources'.
|
Any update on this one? |
@iamawaisakram I fixed the issue you have by the thread below, reducing files to under 2MB. Seems like a different problem from this thread though. Overall, upgrading to gradle 3.4 may fix these issues |
Lot's of options here: facebook/react-native#19239 (comment) |
That comment helped me to build |
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?
The text was updated successfully, but these errors were encountered: