question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable Build Debug APK with Execution failed for task ':realm:processReleaseResources'

See original GitHub issue

Goals

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:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
knethcommented, Jul 11, 2018

@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.

1reaction
kraenhansencommented, Jul 10, 2018

@kneth I am currently seeing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error:Execution failed for task ':app:processDebugResources ...
The build task 'clean' wants to delete all the files in the build directory(normally 'target') and when it fails, the build fails.
Read more >
Build and run your app - Android Developers
You build the APK of your app using a debug build variant. ... If the changes can't be applied and would cause Apply...
Read more >
Android Build Failed! - Unity Forum
Please help, I can't build to Android with this error, ... Execution failed for task ':launcher:mergeReleaseResources'.
Read more >
Different Ways to fix "The APK file does not exist on disk" in ...
The MainActivity Page throws the error as: The APK file /Users/MyApplicationName/app/build/outputs/apk/app-debug.apk does not exist on disk.
Read more >
Generate Release APK with ReactNative CLI (Errors Fixed)
How to generate android APK files for android mobile apps in React Native CLI ... While building the APK, execution failure for some...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found