位置: 编程技术 - 正文

Android aapt介绍(android aoa)

编辑:rootadmin

推荐整理分享Android aapt介绍(android aoa),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:android aapt报错,android aoa,android aapt2,android aapt报错,androidapi,android applications,android aapt2,android aapt报错,内容如对您有帮助,希望把文章链接给更多的朋友!

什么是AAPT? 进入android-sdk-windowsplatform-tools目录,输入aapt,可以查看这个工具的具体描述:

Android Asset Packaging Tool

Usage: aapt l[ist] [-v] [-a] file.{zip,jar,apk} List contents of Zip-compatible archive. 例子:aapt l -a test.apk 可以打印出来这个apk的详细信息,包括apk里面res目录下的所有资源,AndroidManifest.xml文件详细信息等。如果只想看到AndroidManifest.xml文件里面的信息,可以使用下面的命令:aapt d badging test.apk。不用使用apktool反编译了。

aapt d[ump] [–values] WHAT file.{apk} [asset [asset …]] strings Print the contents of the resource table string pool in the APK. badging Print the label and icon for the app declared in APK. permissions Print the permissions from the APK. resources Print the resource table from the APK. configurations Print the configurations in the APK. xmltree Print the compiled xmls in the given assets. xmlstrings Print the strings of the given compiled xml assets.

aapt p[ackage] [-d][-f][-m][-u][-v][-x][-z][-M AndroidManifest.xml] [-0 extension [-0 extension …]] [-g tolerance] [-j jarfile] [–debug-mode] [–min-sdk-version VAL] [–target-sdk-version VAL] [–app-version VAL] [–app-version-name TEXT] [–custom-package VAL] [–rename-manifest-package PACKAGE] [–rename-instrumentation-target-package PACKAGE] [–utf] [–auto-add-overlay] [–max-res-version VAL] [-I base-package [-I base-package …]] [-A asset-source-dir] [-G class-list-file] [-P public-definitions-file] [-S resource-sources [-S resource-sources …]] [-F apk-file] [-J R-file-dir] [–product product1,product2,…] [-c CONFIGS] [–preferred-configurations CONFIGS] [raw-files-dir [raw-files-dir] …] [–output-text-symbols DIR]

Android aapt介绍(android aoa)

Package the android resources. It will read assets and resources that are supplied with the -M -A -S or raw-files-dir arguments. The -J -P -F and -R options control which files are output.

使用Ant编译apk的时候,使用aapt进行打包,脚本代码如下:

aapt r[emove] [-v] file.{zip,jar,apk} file1 [file2 …] Delete specified files from Zip-compatible archive. 从一个apk中删除指定的文件

aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 …] Add specified files to Zip-compatible archive. 将一个文件打包到apk里面

aapt c[runch] [-v] -S resource-sources … -C output-folder … Do PNG preprocessing on one or several resource folders and store the results in the output folder.

aapt s[ingleCrunch] [-v] -i input-file -o outputfile Do PNG preprocessing on a single file.

aapt v[ersion] Print program version.

Android传感器概述-android学习之旅(七) 传感器概述传感器是第二代智能手机的重要标志之一。现在许多的手机和平板都内置了传感器(tv除外)。android的SDK支持许多的传感器有十几种,但是

ffmpeg2.6.2在Ubuntu下使用NDK编译成.so文件 参考blog:

Android内存泄露监控 转载:

标签: android aoa

本文链接地址:https://www.jiuchutong.com/biancheng/376650.html 转载请保留说明!

上一篇:【面试题】JAVA 一个线程依赖另外一个线程的结果(java面试题简书)

下一篇:Android传感器概述-android学习之旅(七)(android手机传感器应用程序)

  • 高新技术生物企业是否可减按15%的税率纳税?
  • 一般纳税人注销公司麻烦吗
  • 减免税款会计分录
  • 营业执照注销对商标有影响吗
  • 住房贷款专项扣除
  • 什么是未投入使用的固定资产
  • 发票没有纳税人识别号能开吗
  • 待认证进项税额认证以后怎么做分录
  • 税控设备抵减增值税会计处理
  • 其他应付款转入营业外收入
  • 不得抵扣的会计分录
  • 采购退回的分录
  • 公司发放节日礼品
  • 如何查询分公司开户行
  • 发票认证了还能退回吗
  • 房地产并购的税率是多少
  • 出口转内销进项转出
  • 项目合作费包括
  • 其他综合收益的编码
  • 追补确认年度是哪一年
  • 一般纳税人企业所得税税率多少
  • 教育费附加免征还计提吗
  • 管理不善造成的损失的会计分录
  • 日用品 食品
  • 留存利润和利润的关系
  • amdr5 1400
  • 购买电子承兑差额怎么算
  • u盘如何装系统win7
  • autorun.exe
  • 预算会计的核算范围
  • PHP:pg_send_execute()的用法_PostgreSQL函数
  • 工资结算单什么时候签
  • 前端页面加载缓慢怎么办
  • php返回函数值的关键字
  • php实现递归
  • 行政单位捐赠会计分录怎么做的
  • 小程序制作平台
  • 一般纳税人企业所得税多久申报一次
  • smart模板教程
  • sysstat命令
  • at命令每天任务
  • 采矿权价款怎么做账
  • 股东出资证明书范本
  • 住宿费可以抵扣进项吗
  • 小于500的费用没有发票怎么做账
  • 支付土地补偿款计入什么科目
  • 税法对工资薪金的要求
  • sqlserver重复数据
  • 职工教育经费可以冲回吗
  • 已核准未登记名称我可以注册吗
  • 营利性幼儿园是什么意思
  • 短期借款计提利息计入什么科目
  • 预收账款的借贷方向增减
  • 一个营业执照可以开几个店铺
  • 支付应付账款的摘要
  • 如何避免电子发票重复报销的情况
  • mysql5.5忘记密码
  • win升级失败 导致无法启动
  • windowsserver2003ftp服务器怎么搭建
  • linux ipi
  • linux获取操作系统版本
  • centos如何运行程序
  • win7系统设置wifi热点
  • find 命令 查找文件
  • linux useradd(adduser)命令参数及用法详解(linux创建新用户命令)
  • 你需要windows7sp1才能安装ie11
  • win10 rs3
  • linux就要这样学
  • glrotatef函数
  • linux系统下hosts文件详解及配置
  • css盒子模型示意图
  • jquery对动态生成的进行操作
  • android获取位置信息
  • unix中创建新文件
  • python怎么生成随机函数
  • jquery 列表实现
  • boss直聘怎么注销账号
  • 进项票当月认证怎么操作
  • 汽车排量与购置税的关系
  • 北京鼓楼医院网上挂号app
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设