Hello,
I was using the following scheme:
1. Add it to assets.
mybinary.path=/assets
mybinary.files+=$$PWD/../mybinary-build/prebuilt/android/$$ANDROID_TARGET_ARCH/bin/mybinary
INSTALLS+=mybinary
2. At app first start, copy it to the cache folder and run it from there.
Since Android 10, this scheme is not working anymore
(https://developer.android.com/about/versions/10/behavior-changes-10#execute-permission):
"/Untrusted apps that target Android 10 cannot invoke //|exec()|//on
files within the app's home directory. This execution of files from the
writable app home directory is a //W^X violation
<https://en.wikipedia.org/wiki/W%5EX>//. Apps should load only the
binary code that's embedded within an app's APK file./"
So, is there a way to include it into APK so I can launch it from there?
I'm using Qt 5.12.10.
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest