Can't export using Android API 31. android:exported error

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi, does anyone know how to fix this, I'm trying to export my app as an Android bundle targeting API 31 and it gives me a manifest error.

    I've checked the manifest in the runtime folder and android:exported="true" is already included, I'm using build API 33, targeting API 31 and minimum is API 24.

    I have been told on discord about a Android manifest extension but can't find it where I have searched and don't know how to fix this.

    Google requires apps targeting API 31 and I can't upload it to the Play Store.

    Also check out my site, it's a work in progress.
    Please login to see this link.

  • Hi, does anyone know how to fix this...

    I know when I had to reinstall Fusion again. I had issues similar to this, Thanks to the Latest Android Studio Version not working properly out of the box. It took me awhile to track down the issue, but it was the Latest version of the Android Studio that caused mine. I simply uninstalled that version and ran an older version to install the proper Android Files.

    I am running Android Studio Dolphin | 2021.3.1 Beta 1Build #AI-213.7172.25.2113.8565817, built on May 10, 2022
    Runtime version: 11.0.13+0-b1751.21-8125866 amd64
    VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
    Windows 10 10.0
    GC: G1 Young Generation, G1 Old Generation
    Memory: 1280M
    Cores: 4
    Registry:
    external.system.auto.import.disabled=true
    ide.text.editor.with.preview.show.floating.toolbar=false

    I am building with MMF2.5DEV 294.14
    BUILD API 33
    Minimum Android 4.4
    Target 12

    I also Installed the Latest Android Exporter update as well.
    293.1 Android Exporter

    That fixed my issues and I was able to build .aab and .apk with no problems afterwards.

    Edited 5 times, last by VBEinc (March 19, 2023 at 4:34 AM).

  • I found what was causing the issue, turns out it was the Amazon in-app purchases extension causing the issue, I took a look at the generated AndroidManifest.xml file and it had intent-filter without the android:exported line.

    Looking through the extension files and looks like it's something I can't fix myself, perhaps my extension needs updating.

    EDIT: I checked on Clickstore and the Amazon in-app purchases extension hasn't been updated in awhile.

    Also check out my site, it's a work in progress.
    Please login to see this link.

    Edited once, last by leightonw87 (March 19, 2023 at 11:00 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!