Build error: Execution failed for task ':react-native-background-task:processReleaseResources'.
See original GitHub issueYour Environment
- Plugin version: react-native-background-fetch@2.4.3
- Platform: iOS or Android: Android
- OS version: Ubuntu 16.04
- Device manufacturer / model: N/A
- React Native version (
react-native -v
): react-native-cli: 2.0.1 react-native: 0.56.0 - Plugin config
allprojects {
repositories {
mavenLocal()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven {
url 'https://maven.google.com/'
name 'Google'
}
maven {
url "$rootDir/../node_modules/react-native-background-fetch/android/libs"
}
}
}
Expected Behavior
It should compile
Actual Behavior
It does not compile
Steps to Reproduce
- cd AwesomeProject/
- npm i react-native-queue
- react-native link realm
- npm i react-native-background-task
- react-native link react-native-background-task
- npm i react-native-background-fetch
- react-native link react-native-background-fetch
- npm install
- react-native run-android
Context
Test this module
Debug logs
/home/rob/AwesomeProject/node_modules/react-native-background-task/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’.
/home/rob/AwesomeProject/node_modules/react-native-background-task/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’.
/home/rob/AwesomeProject/node_modules/react-native-background-task/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’.
/home/rob/AwesomeProject/node_modules/react-native-background-task/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’.
/home/rob/AwesomeProject/node_modules/react-native-background-task/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’.
/home/rob/AwesomeProject/node_modules/react-native-background-task/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’.
- What went wrong: Execution failed for task ‘:react-native-background-task:processReleaseResources’.
com.android.ide.common.process.ProcessException: Failed to execute aapt
Issue Analytics
- State:
- Created 5 years ago
- Comments:28 (15 by maintainers)
Top GitHub Comments
I used his site to initially develop the plugin back in iOS 7.
Oh: 5 year anniversary is tomorrow.
There is no difference in implementation. Background-task is just a wrapper for my same TSBackgroundFetch library.
You are mistaken