[ERROR] Build faild after update react native and android sdk build tools
See original GitHub issueI got this error after react-native run-android
after update react-native and android sdk build tools with this error:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:15:7-34
is also present at [:react-native-splash-screen] AndroidManifest.xml:12:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:11:5-33:19 to override.
Can you guide me to fix this?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:15
Top Results From Across the Web
Why my React Native Android App build failing? [closed]
Images: A) don't allow us to copy-&-paste the code/errors/data for testing; B) don't permit searching based on the code/error/data contents; and ...
Read more >React Native on Android failed to find Build Tools-Reactjs
I had this problem trying to build at the command line following react native's documentation. I resolved this problem by opening the project...
Read more >Android App build error - I have no idea what to do
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with...
Read more >Known issues with Android Studio and Android Gradle Plugin
To fix this issue, upgrade your Android 11 emulator to version 9 or higher by navigating to Tools > SDK Manager. In the...
Read more >Upgrading to new versions - React Native
Upgrading to new versions of React Native will give you access to more APIs, views, developer tools and other goodies. Upgrading requires a ......
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
Apply the suggestion from the logs: In your Manifest, in the
<aplication>
tag, right underandroid:theme...
addtools:replace="android:allowBackup"
also make sure to add in the<manifest>
tag right underxmlns:android...
add the followingxmlns:tools="http://schemas.android.com/tools"
Should be something like:
Adding this line what is telling the compiler is to ignore the attribute from the library and listen to the one in your app.
@altaf4web I assume you forgot to add the
xmlns:tools=“http://schemas.android.com/tools”
in your manifest root element