Published on 08/22/2022
Published by Pratik Takle
Manifest merger failed
If your error is like this
- Here you can see Manifest merger is the issue.
- To know more about manifest read the following,
- This issue is resisting meger for xml scrappers for activities.
- Since google is changing Target API level requirements for Google Play apps so every app compilation need to shift to 31 now.
Solution
- Stage you targetSdkVersion and compileSdkVersion to 31.
- You can find this values in android/build.gradle file.
- Find android/app/src/main/AndroidManifest.xml
- add android:enabled=”true” to every <activity>,<receiver> which are parent to <intent-filter>.
- Now, follow the compiling steps given in https://awxdocs.com/tutorials/steps-to-compile-your-android-app-using-react-native/