Unable to build on Android with RN 0.45.1: AAPT: Error retrieving parent for item:
See original GitHub issueOn android with react native 0.45.1 this library can’t be build and throws the following errors:
./android/app/build/intermediates/res/merged/debug/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'.
./android/app/build/intermediates/res/merged/debug/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'.
./android/app/build/intermediates/res/merged/debug/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'.
./android/app/build/intermediates/res/merged/debug/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'.
Steps to reproduce:
react-native init test --version react-native@0.45.1
cd test
yarn add react-native-background-upload
react-native link
cd android && ./gradlew assembleDebug
With react-native 0.42 this is not an issue.
Some hints about it: i am not that familiar with android native but from some people i’ve heard that it can have do something with buildToolsVersion.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
Error retrieving parent for item: No resource found that ...
in node_modules\react-native-fbsdk\android\build.gradle ... I solve that problem by only modifying android/app/build.gradle file.
Read more >AAPT: Error retrieving parent for item: No resource found ...
Hi, While upgrade to RN 0.56. I have found this error.. But on RN 0.55.4, this package working perfectly :react-native-cookies:processReleaseManifest ...
Read more >Known issues with Android Studio and Android Gradle Plugin
This error occurs on Linux-based platforms when starting the native debugger. It indicates that one of the libraries required by the native debugger...
Read more >Error retrieving parent for item: No resource found that ...
Solution 4: This issue is raised because now the compile SDK version must match the Android Support library's major version. If we have...
Read more >Removing error "Error retrieving parent for item:No ... - YouTube
Way to remove error " Error retrieving parent for item...." and error "Found 2 versions of android -support-v4.jar in the dependency list ...
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
I´ve resolved changing my build.gradle inside android/build.gradle :
old: android: { compileSdkVersion 23 buildToolsVersion “23.0.1” … }
dependencies: { compile “com.android.support:appcompat-v7:23.0.1” … }
to android: { compileSdkVersion 24 buildToolsVersion “24.0.1” … }
dependencies: { compile “com.android.support:appcompat-v7:24.0.1” … }
The readme mentions this in the
Manual Native Library Linking
section, which you probably skip if you do automatic linking.