[Interest] Deploy custom binary with APK
Alexander Dyagilev
alervdvcw at gmail.com
Wed Dec 16 07:40:46 CET 2020
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201216/2154a90b/attachment.html>
More information about the Interest
mailing list