After upgrading Android Sdk to 33 recently, packing Android generates the following problems:
AndroidManifest.xml 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. See http://g.co/androidstudio/manifest-merger for more information about the manifest merger. Execution failed for task ':launcher:processDebugMainManifest'. > Manifest merger failed with multiple errors, see logs
1. Tried to add android:exported as instructed, but the problem remains. So I used the 2nd solution, drop the sdk version.
2. Drop Android sdk version
1. Set the SDK version of Android project as shown in the following figure:
2. After setting, modify the relevant SDK in all build.gradle configuration files in the project to be consistent with the version number configured in the above figure.
compileSdkVersion 30 buildToolsVersion '30.0.2' targetSdkVersion 30
Read More:
- [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 Studio Manifest merger failed with multiple errors, see logs
- Execution failed for task ‘:app:processDebugMainManifest‘.> Manifest merger failed : Apps targeting
- [Solved] Manifest merger failed: Apps targeting Android 12 and higher are required to specify an explicit
- [Solved] Manifest merger failed: android:exported needs to be explicitly specified for element <activity#com
- [Solved] Android Gradle Build Error: Some file crunching failed, see logs for details
- Unable to import maven project: See logs for details [Solved]
- Redis Error: (error) ERR Errors trying to SHUTDOWN. Check logs.
- [Solved] Android12 Download Error: The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- [Solved] Redis Execute redis-cli shutdown Error: (error) ERR Errors trying to SHUTDOWN. Check logs.
- [Solved] Arm Server kibana7.4.1 Error: Sending Logstash logs to /home/logstash-6.8.4/logs which is now configured via log4j2.properties
- [Solved] Android-android studio apk Install Error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- [Solved] error c101008d: Failed to write the updated manifest to the resource of file
- [Solved] OpenCV ERROR: The minSdk version should not be declared in the android manifest file
- [Solved] Android x relies on AAR errors: Failed to transform…
- [Solved] flutter Project Error: ScrollController attached to multiple scroll views, Failed assertion: line 109 pos 12