Android Question Upload to Play Store Fail, 'android:exported'

Sinan Tuzcu

Well-Known Member
Licensed User
Longtime User
Hello,

When uploading, I get the message:

You uploaded an APK or Android app bundle with an activity, activity alias, service, or transferee with intent filter that does not have the android:exported property set. This file cannot be installed on Android 12 or later. See: developer.android.com/about/versions/12/behavior-changes-12#exported

my manifest "File:

XML:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="33"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
    
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")

AddApplicationText(
<meta-data android:name="com.google.android.gms.version"
  android:value="@integer/google_play_services_version"/>
  android:debuggable="false"/>)

'Damit die Tastaur unter dem Textfeld bleibt.
SetActivityAttribute(generalsettings, android:windowSoftInputMode, adjustPan|stateHidden)
'End of default text.

'AddPermission(android.permission.INTERNET)
    
SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values, colors.xml,
<resources>
    <color name="actionbar">#FF5E7A0B</color>
    <color name="statusbar">#FF5E7A0B</color>
    <color name="textColorPrimary">#ff9BC300</color> <!-- Softkey Button color -->
    <color name="navigationBar">#FF5E7A0B</color>
</resources>
)
CreateResource(values-v20, theme.xml,
<resources>
    <style name="LightTheme" parent="@android:style/Theme.Material.Light">
         <item name="android:colorPrimary">@color/actionbar</item>
         <item name="android:colorPrimaryDark">@color/statusbar</item>
         <item name="android:textColorPrimary">@color/textColorPrimary</item>
         <item name="android:navigationBarColor">@color/navigationBar</item>
          <item name="android:colorAccent">#FF5E7A0B</item> <!-- checkboxes,, switches,, etc. -->
    </style>
</resources>
)
CreateResource(values-v14, theme.xml,
<resources>
    <style name="LightTheme" parent="@android:style/Theme.Holo.Light">
        <item name="android:actionBarStyle">@style/CustomActionBarStyle</item>
    </style>
    <style name="CustomActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
        <item name="android:background">@color/actionbar</item>
    </style>
</resources>
)
 
Top