导航:
论坛 -> 移动应用开发
斑竹:flyers,iamdream
作者:
2022/9/26 22:44:52
标题:
安卓 APP 发布到手机上,外挂的 jar 文件在发布管理界面里面要设置到哪个目录底下?
浏览:767
加入我的收藏
楼主:
Delphi 的 Project - Deployment 界面里面,把 jar 文件添加进去,然后,Remote Path 哪里,该选哪个目录?
----------------------------------------------
-
作者:
2022/9/26 23:22:57
1楼:
try this structure: The 'aar' bundle is the binary distribution of an Android Library Project. The file extension is .aar, and the maven artifact type should be aar as well, but the file itself a simple zip file with the following entries: /AndroidManifest.xml (mandatory) /classes.jar (mandatory) /res/ (mandatory) /R.txt (mandatory) /assets/ (optional) /libs/*.jar (optional) /jni/<abi>/*.so (optional) /proguard.txt (optional) /lint.jar (optional) These entries are directly at the root of the zip file. The R.txt file is the output of aapt with --output-text-symbols. http://tools.android.com/tech-docs/new-build-system/aar-format StackOverFlow https://stackoverflow.com/questions/19752923/load-using-jar-or-so-with-delphi-xe5 --------- maybe ADD it on "Library" on Project Manager three!!!
此帖子包含附件: 大小: 23.1K
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
2022/9/26 23:55:09
2楼:
@emailx45 thanks, I'll try......
----------------------------------------------
-
作者:
2022/9/27 0:20:05
3楼:
yes, I remove it from [Project - deployment], add it to "libraries" as the picture above that emailx45 showed. And the app can run.
----------------------------------------------
-
作者:
2022/9/27 5:53:30
4楼:
good job :>)
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3