Hello.
When I changed the targetSdkVersion to work with api 31, I started to show the following message when I did the
Uploading the app to Google Play:
You've uploaded an APK or Android App Bundle that has an activity, activity alias, service, or broadcast receiver with an intent filter, but no "android:exported" property defined. The file cannot be installed on Android 12 or newer. Visit: developer.android.com/about/versions/12/behavior-changes-12#exported
But if I go to the Manifest, there is the android:exported option defined.
Has anyone experienced this problem?
Below is the Manifest for you to take a look at. See that Manifest is simple, because the app is simple. I don't use anything else on it.
When I changed the targetSdkVersion to work with api 31, I started to show the following message when I did the
Uploading the app to Google Play:
You've uploaded an APK or Android App Bundle that has an activity, activity alias, service, or broadcast receiver with an intent filter, but no "android:exported" property defined. The file cannot be installed on Android 12 or newer. Visit: developer.android.com/about/versions/12/behavior-changes-12#exported
But if I go to the Manifest, there is the android:exported option defined.
Has anyone experienced this problem?
Below is the Manifest for you to take a look at. See that Manifest is simple, because the app is simple. I don't use anything else on it.
B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
AddManifestText(
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="31"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:exported="false"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.LightTheme)
'End of default text.