Error with Android 13

Hi,

I test my current application and it seems it runs perfectly fine but on Android 13. (API 33)
A friend told me it crashes directly on his phone (Samsung a53) and on an emulator I got
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
I try all architectures in project.xml, x86, x86_64, arm and so on … nothing changed.
I also try this : Problem with Android target-sdk-version >= 30 - #2 by android444

Does anyone has the same issue ?
I build on an Ubuntu computer with lime 7.9 (8.0 did not help), haxe 4.2.5, openfl 9.2.0
Any version under API 33 is perfectly fine.

Thank you.

Update, tested with different ndk too, the last supported r21e, did not help

I have 335 installs on samsung a53 in google play.
I also build on ubuntu
haxe: [4.2.5]
hxcpp: [4.2.1]
lime: [8.0.0]
openfl: [9.2.0]
ndk-r21e

Exactly (allowNativeHeapPointerTagging) is in the resulting manifest?

Thanks for your answer @Vortelio.
By default Samsung A53 has Android 12, my friend updated to Android 13, that is why I found the problem.
The strange thing is : I can’t open the manifest in the apk

Anyway, even with this error, any emulator under Android 12 is fine …

Any idea what could be the problem ?

Try some solutions from here: android - [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] - Stack Overflow

It turns out I’m also using a specific version of gradle.

<config:android gradle-version=6.7.1 if=android />
<config:android gradle-plugin=4.2.0 if=android />

Tried everything, even with specific gradle, nothing works …

Thanks for your time @Vortelio.
I am able to make it work on windows 11 with this configuration :

  • openjdk 14.0.1 2020-04-14
  • ndk r13b
  • build tools 30.0.2
  • cmake 3.22.1