Unable Build Debug APK with Execution failed for task ':realm:processReleaseResources'
See original GitHub issueGoals
Build unsigned debug react native APK with realm
Expected Results
Successfully Building Process
Actual Results
The building process stopped and failed
:realm:compileReleaseRenderscript UP-TO-DATE :realm:generateReleaseBuildConfig UP-TO-DATE :realm:generateReleaseResValues UP-TO-DATE :realm:generateReleaseResources UP-TO-DATE :realm:mergeReleaseResources UP-TO-DATE :realm:processReleaseManifest UP-TO-DATE :realm:processReleaseResources /Users/arbregame/Desktop/Memo/node_modules/realm/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Widget.Button.Borderless.Colored’.
/Users/arbregame/Desktop/Memo/node_modules/realm/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Widget.Button.Colored’.
/Users/arbregame/Desktop/Memo/node_modules/realm/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15:21-54: AAPT: No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’.
/Users/arbregame/Desktop/Memo/node_modules/realm/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Widget.Button.Borderless.Colored’.
/Users/arbregame/Desktop/Memo/node_modules/realm/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Widget.Button.Colored’.
/Users/arbregame/Desktop/Memo/node_modules/realm/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: Error: No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’.
:realm:processReleaseResources FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ‘:realm:processReleaseResources’.
com.android.ide.common.process.ProcessException: Failed to execute aapt
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.798 secs
Steps to Reproduce
Adding realm and link it
Version of Realm and Tooling
- Realm JS SDK Version: 2.12.0
- React : 16.4.1
- React Native: 0.56.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top GitHub Comments
@RenalPraba My coworker @kraenhansen had the same issue with one of his demo apps, and he figured out what to do. #1918 is a fix, and I plan to get it released tomorrow.
@kneth I am currently seeing this issue.