Home > Net >  "You uploaded an APK or Android App Bundle which has an activity, activity alias, service or br
"You uploaded an APK or Android App Bundle which has an activity, activity alias, service or br

Time:02-10

"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."

My Client is getting this error while uploading my App on Play Store. I have resolved the issue on on my side. but how Can I test this on Android Studio. As I was not getting the error earlier as well? (How I solved this ? I defined android:exported Property in Manifest.xml).

Complied SDK : 31 minSDK : 19

CodePudding user response:

It's a change in Android as of 12. Exported used to have a default. For greater security it no longer has a default and you must specify the value. See https://developer.android.com/about/versions/12/behavior-changes-12 for more details.

CodePudding user response:

Yes, you can test it on the emulator. Install an emulator with 31 SDK create emulator

It helps you check your fix

  • Related