位置: 编程技术 - 正文

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

  • 个人将租用的商铺怎么办
  • 已交税金是什么类
  • 一般纳税人税收优惠政策有哪些2023年
  • 年终奖12月份计提少了
  • 基本账户可以转移吗
  • 收回个人社会保险费是否可以冲红管理费用
  • 增值税普通发票有什么用
  • 收到就业补贴财务如何做账
  • 房产出租增值税税目
  • 自产自销农产品企业所得税
  • 主表第17栏应该等于定期
  • 跨年的材料专票怎么做会计分录?
  • 税务局代开的劳务费发票可以入账吗
  • 公司代缴的社保个人账户能不能查到
  • 工程款先开票
  • 企业咨询评估
  • 服装厂委托物资零散加工成品如何做账呢?
  • 会计科目的使用说明应包括
  • 处置固定资产增值税税率
  • 设计费开专用发票几个点
  • 建房子的公司
  • 一般纳税人花椒税率
  • 关税减免有哪些类型?
  • 小企业会计准则主要按照什么计量
  • 企业的主营业务收入
  • 商贸企业固定资产计提折旧吗
  • 跨年度专用发票如何开红字发票
  • 工程储备的材料是存货吗
  • 房地产预收账款是什么
  • 增值税防伪税控系统采用什么技术保护涉税信息
  • 新成立的有限公司
  • win11怎么把默认c盘改到d盘
  • 华为分享连接电脑显示检查您的拼写
  • won11安全启动
  • php strrpos函数
  • php类的作用
  • PHP:pg_untrace()的用法_PostgreSQL函数
  • php 模拟post
  • php从服务器下载文件
  • 纽格尔官网
  • php 截断
  • 育空领地
  • codeignitor
  • vue 实战
  • vue路由使用方法
  • 商业企业常用会计科目
  • java中通配符作用
  • 注册新公司怎么办理
  • python tkinter entry用法
  • 工会经费能不能用于体检
  • 印花税技术服务合同包括哪些
  • 合伙人资本属于个人资本吗?
  • 企业注销资本公示时间
  • 完税凭证是什么样子
  • 公司交残保金是什么意思
  • 退货对方不开具红字发票怎么办
  • 记账凭证审核的内容
  • 销售返利如何做账
  • 外购的货物发生下列用途时,不能抵扣进项税额的是
  • win8.1使用技巧
  • XP从4月8日起将正式停止支持服务、升级到 Win 8.1图文教程
  • 怎样把系统及软件迁移到固态
  • win8 设置
  • 在Linux操作系统中哪些命令可以正确关闭系统防火墙
  • linux 使用
  • cocos2dx 3.0 beta android环境配置
  • [置顶] 此外,车牌号:458143(懂得都懂[吃瓜])
  • unity数学函数
  • excel表格时间选择
  • perl的正则表达式语法
  • nodejs websocket客户端
  • unity sp
  • android中文文档
  • javascript用什么运行
  • python提取信息
  • python语言例子
  • 个人所得税缴纳标准2024年
  • 汽车购置税与消费税
  • 地税局属于市直单位吗
  • 土地二次买卖
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设