@react-native-community_async-storage:verifyReleaseResources FAILED
See original GitHub issueHey, Whenever I run ./gradlew assembleRelease
I got this error:
Execution failed for task ':@react-native-community_async-storage:verifyReleaseResources'.
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
/Users/darkkingmarvel/Desktop/Jiffeo/v2/jiffeoApp/node_modules/@react-native-community/async-storage/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
/Users/darkkingmarvel/Desktop/Jiffeo/v2/jiffeoApp/node_modules/@react-native-community/async-storage/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
/Users/darkkingmarvel/Desktop/Jiffeo/v2/jiffeoApp/node_modules/@react-native-community/async-storage/android/build/intermediates/res/merged/release/values/values.xml:2714: error: resource android:attr/fontVariationSettings not found.
/Users/darkkingmarvel/Desktop/Jiffeo/v2/jiffeoApp/node_modules/@react-native-community/async-storage/android/build/intermediates/res/merged/release/values/values.xml:2715: error: resource android:attr/ttcIndex not found.
error: failed linking references.
- Async Storage version:1.2.2
- React-Native version: 0.59.2
- Platform tested: Android
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Windows 11 Upgrade Problem - Microsoft Community
Firstly Sorry My English. I Have Windows 10 21h1 Build 19043.1266. I don't upgrade Windows 11. I downloaded Windows 11 iso started setup....
Read more >React Native Failed to install the App error, Android emulator ...
Provide an excellent and consistent remedy for "task -app-installDebug" failed error.The error /symptom you would get is like:1) Android ...
Read more >JSI library compiling error during build : r/reactnative - Reddit
this is the result I get from the build process: FAILURE: Build completed with 2 failures. 1: Task failed with an exception.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally, I solved it. Steps:
1.12.1
, so was mandatory update it. Now I have 1.15.2node_modules
and reinstall it usingyarn install
/npm install
Now
./gradlew assembleRelease
works!PD: don’t forgive place the keystore file to
android/app
😉Have you tried cleaning the Android build with
/gradlew clean
in theandroid
folder? That fixed the problem for me.