question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Manifest merger failed

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Reactions:35
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

35reactions
Mayranitcommented, Nov 28, 2016

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>
18reactions
hadnazzarcommented, Mar 28, 2019

Try to add manifestPlaceholders https://github.com/FormidableLabs/react-native-app-auth#add-redirect-scheme-manifest-placeholder

android {
  defaultConfig {
      manifestPlaceholders = [
        appAuthRedirectScheme: 'io.identityserver.demo'
      ]
    }
  }
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found