I am facing the following error while uploading my app to GSC You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the ‘android:exported’ property set in a flutter. So today Here I come with all possible solutions for this error.
We are providing you all possible solutions to solve this error. let’s start this article without wasting your time.
Table of Contents
How You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the ‘android:exported’ property set Error Occurs?
I am facing the following error while uploading my app to GSC:
You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the ‘android:exported’ property set. This file can’t be installed on Android 12 or higher. See: developer.android.com/about/versions/12/behavior-changes-12#exported
How To Solve You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the ‘android:exported’ property set Error?
- How To Solve You uploaded an APK or Android App Bundle which has an activity, activity alias, service, or broadcast receiver with intent filter, but without the 'android:exported' property set Error?
To Solve You uploaded an APK or Android App Bundle which has an activity, activity alias, service, or broadcast receiver with intent filter, but without the 'android:exported' property set Error As Per Developer.Android.com “If your app targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the
android:exported
attribute for these app components.” First of All Open Your AndroidMenifest.Xml file and then Just Put android:exported=”true” under Activity. Just like below: android:exported=”true” Now, Rebuild Your App And Your error will be solved. Thank You. - You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the 'android:exported' property set
To Solve You uploaded an APK or Android App Bundle which has an activity, activity alias, service, or broadcast receiver with intent filter, but without the 'android:exported' property set Error As Per Developer.Android.com “If your app targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the
android:exported
attribute for these app components.” First of All Open Your AndroidMenifest.Xml file and then Just Put android:exported=”true” under Activity. Just like below: android:exported=”true” Now, Rebuild Your App And Your error will be solved. Thank You.
Solution 1: declare the android:exported
As Per Developer.Android.com “If your app targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the android:exported
attribute for these app components.”
First of All Open Your AndroidMenifest.Xml file and then Just Put android:exported=”true” under Activity. Just like below.
<activity
android:name="....."
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:theme="@style/CheckoutTheme"
android:exported="true"> // Just Add This Line
...
...
</activity>
Now, Rebuild Your App And Your error will be solved. Thank You.
Summary
So, It’s All About This Error. I hope this tutorial helps you to Solve your error. Please Comment Below if You stucks anywhere with my code. And please comment below on which solution worked for you. Thank You.
Also, Check Out the Below Tutorials
- How to make a blur Background Image effect in Flutter using BackdropFilter.
- Create Rounded Corners Image in Flutter.
- set Background Image to Scaffold in Flutter.
- How To Select multiple images with Flutter
- How to Set Network Image In Circular Avatar In Flutter?