Error: Manifest merger failed
See original GitHub issueI got an error
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute data@scheme at AndroidManifest.xml requires a placeholder substitution but no value for <appAuthRedirectScheme> is provided.
How to solve this?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:35
- Comments:17 (2 by maintainers)
Top Results From Across the Web
Getting "Manifest merger failed" error after updating to a new ...
I'm not using different versions of libraries and got the same error, it's happened after remove buildToolsVersion in AS RC 1, ...
Read more >Manifest Merger Fails with Multiple Errors in Android Studio
A merge conflict occurs while merging whenever the value of any attribute is different in the two Manifest files. However, if an element...
Read more >manifest merger failed with multiple errors see logs - Edureka
The initial process would be to open the manifest application known as the AndroidManifest.xml and then click on the Merged Manifest tab below ......
Read more >Manifest merger failed: uses-sdk:minSdkVersion 16 cannot be ...
Explained the solution for the error " Manifest merger failed : uses-idk:minSdkVersion 16 cannot be smaller than version 19 declared in ...
Read more >Manifest merger failed with multiple errors, see logs.
Manifest merger failed with multiple errors, see logs. 2. Hotlists (3) Mark as Duplicate ... Please all available options to fix this error....
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
Hi ,
You need to mention your App Auth Redirect Scheme in App’s build.gradle file. Below is example from my code.
android.defaultConfig.manifestPlaceholders = [‘appAuthRedirectScheme’: ‘YOURSCHEME’]
YOUR SCHEME is same value as in Manifest file RedirectUriReceiverActivity.
<activity android:name="net.openid.appauth.RedirectUriReceiverActivity"> <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:scheme="YOURSCHEME" /> </intent-filter> </activity>Try to add manifestPlaceholders https://github.com/FormidableLabs/react-native-app-auth#add-redirect-scheme-manifest-placeholder