DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: webb123
今日帖子: 33
在线用户: 17
导航: 论坛 -> 移动应用开发 斑竹:flyers,iamdream  
作者:
男 pcplayer (pcplayer) ★☆☆☆☆ -
普通会员
2022/9/26 22:44:52
标题:
安卓 APP 发布到手机上,外挂的 jar 文件在发布管理界面里面要设置到哪个目录底下? 浏览:767
加入我的收藏
楼主: Delphi 的 Project - Deployment 界面里面,把 jar 文件添加进去,然后,Remote Path 哪里,该选哪个目录?
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
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!!!
此帖子包含附件:
PNG 图像
大小:23.1K
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 pcplayer (pcplayer) ★☆☆☆☆ -
普通会员
2022/9/26 23:55:09
2楼: @emailx45  thanks, I'll try......
----------------------------------------------
-
作者:
男 pcplayer (pcplayer) ★☆☆☆☆ -
普通会员
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.
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2022/9/27 5:53:30
4楼: good job :>)
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行89.84375毫秒 RSS