Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:18:5-65:19 to override.
See original GitHub issueWhen using compile ‘net.rdrei.android.dirchooser:library:3.2@aar’, remove the theme in the application manifest. Only use theme for the activity.
:processDebugManifest
/<>/AndroidManifest.xml:21:9-40 Error:
Attribute application@theme value=(@style/AppTheme) from AndroidManifest.xml:21:9-40
is also present at [net.rdrei.android.dirchooser:library:3.2] AndroidManifest.xml:9:18-62 value=(@style/DirectoryChooserTheme).
Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:18:5-65:19 to override.
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
:processDebugManifest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugManifest'.
> Manifest merger failed : Attribute application@theme value=(@style/AppTheme) from AndroidManifest.xml:21:9-40
is also present at [net.rdrei.android.dirchooser:library:3.2] AndroidManifest.xml:9:18-62 value=(@style/DirectoryChooserTheme).
Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:18:5-65:19 to override.
* 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: 0.8 secs
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:7 (5 by maintainers)
Top Results From Across the Web
flutter - add 'tools:replace="android:label"' to <application> ...
I am getting this error. Error: Attribute application@label value=(flutter_bloc_pattern) from AndroidManifest.xml: ...
Read more >Manage manifest files
This page describes how our build tools ingest manifest files to determine the ultimate look and experience of your app.
Read more >Sudden error Unable to merge android manifests.
20754: [Unity] Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest-main.xml:5:3-14:17 to override.
Read more >2 lines in Manifest to remove before sharing your Android ...
Suggestion : add 'tools:replace="android:supportsRtl"' to <application> element at AndroidManifest.xml:18:5-67:19 to override.
Read more >[Solved]-Suggestion: add 'tools:replace="android:name"' to ...
... to element at AndroidManifest.xml to override-Flutter. ... Add tools:replace="android:theme" to the <application ... like below code.
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
Any update on this?
This allowed me to compile: http://stackoverflow.com/a/34079182/950427.