android exported behavior-changes-12 problem
Unsolved
Installation and Deployment
-
Hello, I want to update my Android application in QT. I set the target to 31 and after uploading it to the Android market, I encountered the following warning. Can you help me resolve it?
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. See: developer.android.com/about/versions/12/behavior-changes-12#exported
-
I am probably a bit late, but got into the same problem this day and the solution is adding the attribute android:exported to the definition of the application.
<activity android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="AppName" android:screenOrientation="portrait" android:launchMode="singleTop" android:exported="false">