位置: 编程技术 - 正文

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

  • 一般纳税人收到普票如何入账
  • 土增清算尾盘销售
  • 增值税普通发票和专用发票有什么区别
  • 发票的抵扣期限怎么填
  • 自来水税率是9%还是3%
  • 广告公司属于服务企业吗
  • 营改增后房地产企业增值税税收筹划存在问题
  • 哪些纳税人需要实名办税
  • 长期股权投资的账务处理
  • 公司销售家电并购案例
  • 记账凭证和通用凭证一样
  • 融资租入的办公楼属于固定资产吗
  • 冲回存货跌价准备计提递延所得税
  • 住宿费发票可以抵扣进项税吗
  • 无形资产摊销的年限规定
  • 企业所得税如何计提会计分录
  • 注册资本没有缴足前贷款利息
  • 生育津贴做账法会计准则
  • 分公司背书给总公司
  • 除工资外其他收入需要个税吗
  • 固定资产内部调拨流程
  • 营业外支出期末需要结转吗
  • 过期未抵扣的发票对企业有什么影响
  • 安全中心总是弹出来
  • win11隐藏图标怎么弄出来
  • 模具费用如何平摊到产品上
  • win10记事本怎么改字体颜色
  • PQV2ISECURITY.EXE - PQV2ISECURITY是什么进程 有什么用
  • dae是什么文件
  • uniapp获取window对象
  • flex布局适用于哪些场景
  • 银行贷款利息已划转支付
  • vue3.0优点
  • 科目余额表平了但资产负债表不平
  • cvg模型
  • 云服务器 chia
  • 蓝桥杯c题库及答案
  • 存货盘点会计分录怎么做
  • 国税退税要多久能到账
  • 利息支出会计科目
  • 发票税额不全可以报销吗
  • 增值税普通发票查询
  • 专票信息开户行少了一个字
  • 织梦如何添加浮动广告
  • 结转完工产品成本的会计科目
  • 小规模纳税人的企业所得税税率
  • 如何判断有无运费险
  • 加计抵减的其他收益免税吗
  • 企业所得税汇算清缴扣除标准2023
  • 固定资产超过多少入账
  • 带息票据为什么是贷财务费用
  • 考试报名费都去哪了
  • 其他应收款款项性质如何填写
  • 开票软件服务费计入什么会计科目
  • 年底结账会计处理
  • 个人独资企业要报税吗
  • mysql5.7.19 winx64解压缩版安装配置教程
  • 如何修改mysql用户名
  • 英文版的windows
  • cf分屏不全屏
  • linux图片编辑软件
  • vpengine.exe进程
  • cmdexe文件损坏
  • win8的系统怎么装win7
  • win8的ie浏览器
  • ubuntu更换版本
  • load its core dll
  • 删除linux系统命令
  • 重装win7旗舰版重启后黑屏
  • linux在哪里操作
  • unity锚点
  • jquery编程
  • html模板 js
  • 激发灵感的三种方式是什么
  • python三角形角度
  • jquery 插件写法
  • js原生dialog
  • 上海电子税务局怎么添加办税员
  • 重庆网上税务局个人怎么绑定企业账户
  • 溧阳北站规划图
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设