Socialize

Without android exported property set error solution

 

Without android exported property set error solution in 2023

You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without ‘android exported’ property set. This file can’t be installed on Android 12 or higher. This error appears when uploading the app; Let’s see how to solve it in this article.

Without android exported property set, When does this error occur?

In Android Studio when you update your app and build APK with target SDK Version 32 then you see this error.

What error appears?

You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without ‘android exported’ property set. This file can’t be installed on Android 12 or higher.

Best blog in 2024

How to remove this error? (without android exported property set)

You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without ‘android exported’ property set. This file can’t be installed on Android 12 or higher.

Take the following steps to remove this error.

  • Open your android studio.
  • Open the project with this error.
  • Open your Android manifest xml file. ( AndroidManifest.xml)

  • In the photo above, the main activity is the launcher activity. Find your launcher activity.
  • Write this code in front off launcher activity. 
  • android:exported=”true”>
 <activity
            android:name=".MainActivity"   android:exported="true">
   
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

 Save the code in the Manifest XML file and then build your project. After building the APK file, upload that file to Play Store. Your file will be uploaded.

Post a Comment

0 Comments