Home > front end >  Installation failed due to: 'INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during insta
Installation failed due to: 'INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during insta

Time:07-22

Installation failed due to: 'INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl842607806.tmp/base.apk (at Binary XML file line #108): com.onesignal.GcmBroadcastReceiver: Targeting S (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present'

Kindly can anyone help me out with this error, please?

CodePudding user response:

If possible, include 'android:exported="true"' for any activity or service that uses an intent filter.

    <activity
        android:name=".myActivity"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
        </intent-filter>
    </activity>

CodePudding user response:

If you’re targeting Android 12, you need to set

android:exported

on each activity, service, and receiver on your AndroidManifest.xml file.

Follow the link for more details.

  • Related