Manifest merger failed with multiple errors, see logs
See original GitHub issueDescription
Anyone knows why I am getting this error: 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. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. in processDebugMainManifest ?? 3 days ago basically was working and I didn’t make any major change. in my androidmanifest file I have android:exported=“true” already in the <activity … >
Version
0.66.3
Output of npx react-native info
mac123@Mac123s-iMac Tutorline-RN % npx react-native info info Fetching system and libraries information… System: OS: macOS 10.15.7 CPU: (4) x64 Intel® Core™ i5-4590 CPU @ 3.30GHz Memory: 64.67 MB / 8.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 16.4.1 - /usr/local/bin/node Yarn: Not Found npm: 8.15.0 - ~/Desktop/Vishal_Parmar/TutorlineGit/Notification_App/Tutorline-RN/node_modules/.bin/npm Watchman: 2021.06.07.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2 Android SDK: Not Found IDEs: Android Studio: 4.2 AI-202.7660.26.42.7486908 Xcode: 12.4/12D4e - /usr/bin/xcodebuild Languages: Java: 11.0.11 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.66.3 => 0.66.3 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
When trying to rebuild the project in android studio or react-native run-android in terminal i am getting the following error. 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. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
Snack, code example, screenshot, or link to a repository
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
https://www.saashub.com/jitpack-status It seems there are some of your libs that use jitpack, so when jitpack fails, it can’t merge the manifest.
try adding
implementation "androidx.test:core:1.4.0"
todependencies
inandroid/app/build.gradle
I have added the following lines in my project and it solved my error.
Android -> App -> Build.gradle android { configurations{ all.exclude module:‘conceal’ all.exclude module:‘bcprov-jdk15on’ } } dependencies{ implementation “androidx.test:core:1.4.0” }