如何为二进制可执行文件创建 APK 文件? [英] How to create an APK file for a binary executable file?
问题描述
我已经用 C++ 编写了一个 GUI 应用程序,为 ARM 处理器构建它并验证了该应用程序在 Android 上的 Andronix 模拟环境中运行.现在的问题是:如何在没有任何模拟环境的情况下在 Android 上本地运行此应用程序?我想创建一个 APK 文件,以通常的方式安装它.有没有什么工具可以创建APK文件并将可执行文件打包进去?
I have written a GUI application in C++, built it for ARM processor and verified, that this application is running on Android in the Andronix emulated environment. Now is the question: How can I enable running this application on Android natively, without any emulated environment? I would like to create an APK file for installing it in a usual way. Are there any tools, which allow creating an APK file and packing an executable file into it?
推荐答案
您可以使用您的 C++ 可执行文件创建和 Android NDK
项目并创建 APK.
You can create and Android NDK
Project and create an APK with your c++ executable.
官方帮助在这里创建一个支持 C/C++ 的新项目
这篇关于如何为二进制可执行文件创建 APK 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!