Android Studio run app error:
Manifest merger failed : 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.
Environment used: Android studio 4.2.2, Pixel 2 API 29
Solution reference.
Add android:exported to activity in AndroidManifest.xml file, e.g:
<activity android:name=".MainActivity" android:exported="true">
Read More:
- Execution failed for task ‘:app:processDebugMainManifest‘.> Manifest merger failed : Apps targeting
- [Solved] Manifest merger failed: android:exported needs to be explicitly specified for element <activity#com
- [Solved] Manifest merger failed with multiple errors, see logs
- [Solved] Android Studio Manifest merger failed with multiple errors, see logs
- [Solved] Android12 Download Error: The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- [Solved] Manifest merger failed with multiple errors, see logs
- Manifest merger failed with multiple errors, see logs [How to Solve]
- [Solved] Manifest merger failed with multiple errors, see logs
- [Solved] Android-android studio apk Install Error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- Android studio configurate intent-filter and compile error [Solved]
- Remember an android app startup error Error running: Default Activity not found
- This application has no explicit mapping for /error, so you are seeing this as a fallback.
- [Solved] This application has no explicit mapping for /error, so you are seeing this as a fallback
- [Solved] Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this
- [Solved] OpenCV ERROR: The minSdk version should not be declared in the android manifest file
- [Solved] SpringBoot Error: This application has no explicit mapping for /error, so you are seeing this
- Android 10 open file exception open failed: eacces (permission denied) android:requestLegacyExternalStorage= “true“
- [Solved] error c101008d: Failed to write the updated manifest to the resource of file