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.

Showing "Manifest merge failed error"

See original GitHub issue

When I installed tipsi-stipe package and run the project I get the below error message “Manifest merger failed : android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined”

Added android:exported=“true” on Main/AndroidManifest.xml file inside activity tag

Below are the versions details. “react”: “17.0.2”, “react-native”: “0.68.0”, “tipsi-stripe”: “^9.2.0”

    buildToolsVersion = "31.0.0"
    minSdkVersion = 21
    compileSdkVersion = 31
    targetSdkVersion = 31
    ndkVersion = "21.4.7075529"

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

30reactions
felexx90commented, Apr 28, 2022

@Hari-krish-v I added this as a workaround to my AndroidManifest.xml

 <activity
      android:name="com.stripe.android.payments.StripeBrowserLauncherActivity" android:exported="true" 
       tools:node="merge"/>
2reactions
gabriellendcommented, Jul 22, 2022

@Hari-krish-v I added this as a workaround to my AndroidManifest.xml

 <activity
      android:name="com.stripe.android.payments.StripeBrowserLauncherActivity" android:exported="true" 
       tools:node="merge"/>

I was trying to find a solution for a week for this, THANK YOU BLESS YOU!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting "Manifest merger failed" error after updating to a new ...
Update your support library to last version · Open Manifest File , and add it into Manifest File · <uses-sdk tools:overrideLibrary="android.support.v17.leanback"/>.
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.
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 with multiple errors see logs android ...
Manifest Merger failed with multiple errors in Android Studio ... 1. Open your gradle console, then you see gradle suggest you to add...
Read more >
(Solved) Manifest merger failed with multiple errors on new ...
Solved it by uninstalling android studio, removing leftover folders .android and .gradle located in user folder and installing it again. Cheers!
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