位置: 编程技术 - 正文

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手机传感器应用程序)

  • 税盘维护费的账务处理
  • 法人个人账户收款是否属于公司业务
  • 借款合同怎么做
  • 银行预留印鉴是公章还是财务章
  • 营业外收入汇算清缴需要调整吗
  • 冲红退税流程
  • 缴纳个人社保在哪里可以缴
  • 资产负债表固定资产清理怎么填
  • 运输发票抵扣进项税率
  • 本期进项税大于销项税
  • 外贸企业当月没交税
  • 如何确定核定征收的应税所得率
  • 制造费用属于资产类账户吗
  • 陈列费税率多少
  • 扣缴外国企业所得税分录
  • 公司汽车装潢和保养做什么会计科目
  • 咨询服务税收
  • 航天信息服务费的会计分录
  • 分公司注销时其他应付款会计分录
  • 境内所得和境外所得
  • 即征即退的增值税计入其他收益吗
  • 增值税发票已经认证可以撤销吗?
  • 外经证预缴税款分录怎么记账
  • 应收账款期初余额是借还是贷
  • 建筑公司分包
  • 在win7中如何设置屏幕保护程序
  • wordpress常用api
  • 深入分析php引用文献
  • ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 1
  • 董事会会费应计什么科目
  • 前端使用vue
  • 测试费计入什么会计科目
  • 蓝桥杯真题c语言
  • 语义特征的语法学概念
  • 固定资产改造费用化账务处理
  • 暂估入库后发票来不了
  • 直接转销法能不能用
  • 企业净利润率是多少好
  • 租赁房产税如何交税
  • 预收账款的借贷方向是加还是凿
  • poi java 导入导出
  • mysql事务引擎
  • 退税没有退的部分怎么做账
  • MySQL中用通用查询日志找出查询次数最多的语句的教程
  • 代收代付进项税转出吗
  • 软件企业增值税计算
  • 个体户跨季领取发票流程
  • 企业停工期间发生的费用如何处理
  • 汽车租赁属于经营租赁吗
  • 应发工资包含
  • 工伤保险退费了是什么意思
  • 破产清算应收账款怎么评估
  • 企业从应付职工工资中代扣的职工房租应借记什么科目
  • 工业企业分为哪几类
  • 待认证转出
  • 忘了作废的发票还能用吗
  • 销售商品发生的运输费计入什么科目
  • 付款金额与发票金额不一致能入账吗?
  • 替其他公司支付工资怎么做账
  • 企业中征码怎么生成
  • 备抵法核算坏账损失
  • 会计准则 职工福利
  • mysql多表连接的方式
  • mysql免安装版下载
  • windows注册表简单应用
  • 清理的快捷键是什么
  • freebsd中文手册
  • windows 8.1更新
  • centos fuser
  • win8怎么删除所有东西
  • 用python抓取网页数据的代码
  • django应用开发实战
  • mac上安装破解软件会怎样
  • python找出n个数里最小的k个
  • Python随机生成数字求最小的三个数字
  • jquery选择器的作用
  • 小规模纳税人销售额怎么算
  • 年应税销售额超过小规模纳税人标准的企业
  • 企业所得税的纳税期限按什么计征
  • 股权转让所得怎么申报
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设