6.0.0 failed to build with react-native 0.50.3
See original GitHub issueI created a brand new project with react-native 0.50.3 and it built successfully, but after I added react-native-svg version 6.0.0, the project failed to compile
"dependencies": {
"react": "16.0.0",
"react-native": "0.50.3",
"react-native-svg": "^6.0.0"
}
error logs:
/home/daniel/mianjiajia/test/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'.
/home/daniel/mianjiajia/test/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'.
/home/daniel/mianjiajia/test/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'.
/home/daniel/mianjiajia/test/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'.
:app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
Issue Analytics
- State:
- Created 6 years ago
- Reactions:19
- Comments:12
Top Results From Across the Web
6.0.0 failed to build with react-native 0.50.3 · Issue #511 - GitHub
I created a brand new project with react-native 0.50.3 and it built successfully, but after I added react-native-svg version 6.0.0, ...
Read more >JS server not recognized, continuing with build - Stack Overflow
Running command react-native run-android --port 8082 in second Command Prompt window. After error screen appear clicking Ctrl + M . Clicking Dev ...
Read more >Troubleshooting - React Native
If you run into issue where executing npm run android on macOS throws the above error, try to run sudo chmod +x android/gradlew...
Read more >Compare Packages Between Distributions - DistroWatch.com
aspell-cy 0.50.3 aspell-da 4.2 aspell-de 20161207.7.0 ... constant-defer 6.0.0 constantine-backgrounds 12.1.1.4 ... Dist-Zilla-Plugin-Test-Compile 2.58.0
Read more >@react-native-community/netinfo - npm
React Native Network Info API for iOS & Android. ... react-native-windows 0.63 or newer; MSVC build tools v142 (included in Visual Studio ...
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
@msand I just found
react-native-svg
is using sdk 2525 worked for me, but it doesn’t work on google pixel. I opened another ticket for it