Target API level 31

Not really a "simple" solution: :wink:

  1. Build the APK.
  2. Decompile it.
  3. Edit the Manifest and add
    android:exported="true"
    to each <activity ... > and <receiver ... >.
  4. Set targetSdkVersion = 31.
  5. Recompile it.
  6. Check if the app (APK) can be installed on your test devices.
  7. If so, convert the APK to AAB:
    https://community.niotron.com/t/convert-apk-to-aab-file/9684
    (otherwise check if you missed to add android:exported="true" to every <activity> and <receiver> and continue with step 4).
9 Likes