aapt

adb查看包名

点点圈 提交于 2019-12-01 07:20:18
方法一:adb shell pm list packages 方法二:adb shell dumpsys activity activities (前提条件:手机应用上只启动你要用的APP) 方法三:aapt方法:语句: aapt dump badging C:\Users\gaoxiaoyuan\Desktop\655afd0440bc5c2ca24282520673a808.apk (1)下载aapt 拽到platform-tools文件夹下(platform-tools已经配置过环境变量了,拽进来就不用再配置了) (2)如下载汽车之家apk文件(安卓安装包)(可以放在桌面上,写命令时直接拽进来) 来源: https://www.cnblogs.com/xiaoquana/p/11493526.html

How can I use Android aaptOptions?

拥有回忆 提交于 2019-12-01 02:33:29
What are the meaning of the aaptOptions.noCompress , etc.; can anybody explain them to me? android { aaptOptions { noCompress 'foo', 'bar' ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~' } } This affects all tasks using aapt. Paul Verest Yes, docs give no clue. Well aapt tool is inside specific build-tools folder and it has options as listed below. For example ignoreAssetsPattern in build.gradle is related to --ignore-assets option The next step would be looking at android gradle plugin to see how aapt is called. There is also useNewCruncher false

aapt.exe has stopped working in eclipse 4.3 kepler SDK 22.3 API level 19

自古美人都是妖i 提交于 2019-11-30 12:21:23
when i compile android program in Eclipse4.3 kepler with SDK version 22.3 API level 19 than it throws an error as aapt.exe has stopped working log shows this Problem signature: Problem Event Name: APPCRASH Application Name: aapt.exe Application Version: 0.0.0.0 Application Timestamp: 52684cb5 Fault Module Name: aapt.exe Fault Module Version: 0.0.0.0 Fault Module Timestamp: 52684cb5 Exception Code: c0000005 Exception Offset: 0003cf2a OS Version: 6.2.9200.2.0.0.768.101 Locale ID: 16393 Additional Information 1: 5861 Additional Information 2: 5861822e1919d7c014bbb064c64908b2 Additional

How to modify a pre-packaged apk file on client-side by user who is using my desktop application?

霸气de小男生 提交于 2019-11-30 10:39:40
Well, I know the title is not well-written, but my case is as complicated as that! I searched for this case here but other similar questions really differ from mine. Here is my problem: I have written an Android program which displays contents (text, images, etc. in raw format) that is stored in "assets" folder. Now I want to deliver this app along with a windows application (also written by me) to end users, which lets them add contents to "assets" folder of the apk file and output the modified apk with their desired name (to appear on their phone). Now what is best solution to do this and

How to solve Android Libraries custom attributes and package name remapping during build?

情到浓时终转凉″ 提交于 2019-11-30 07:36:58
Over time our Android project has expanded a great deal, and these days we are creating multiple branded APKs from the same source tree. This has become challenging due to the package naming requirements of Android. We have all of our shared code in an Android Library project, which is included in the main application project. Plus we have Android library 'overlays' for branded resources that get applied for each brand. When we want to build a brand, we include a few extra properties for that brand that end up including the 'overlay' Android libraries before the main shared code Android

Android style Resources compile (aapt) failing : Bad resource table: header size 0xc

只谈情不闲聊 提交于 2019-11-30 06:45:35
问题 I just spent a few hours with a horrible Android Resource pre compile problem to do with styles and was wondering could anyone explain what caused it. I fixed it but dont know whats the problem. Not helped by Android saying the error was in colors.xml and not in another xml. Step 1 - to recreate error Given a style <style name="ActionBarTitleContainer"> <item name="android:id">@id/title_container</item> <item name="android:layout_width">fill_parent</item> <item name="android:layout_height">

aapt的shell打包脚本

戏子无情 提交于 2019-11-30 00:47:40
#!/bin/bash # 应用包 build apk script # file name build-tencent.sh # 使用说明 # 1.把全部打包资料都准备好放到一个目录里 # 2.把build.sh复制到这个目录里 # 3.用文本编辑器打开build.sh配置里面的信息 # 4.在当前目录下执行脚本 # ---------配置信息 BEGIN---------- # ---打包资源配置--- # 渠道名称 channelName="qudao" #当前目录 BASEDIR=$(dirname $0)"/" # 游戏APK名字,注意不带后缀 gameApk="小哟西" appName="小游戏" #填写versionCode要修改的值 #versioncode="100" #修改android api版本,看渠道是否要求上传api26以上,否则就填22即可 #targetVersion="22" baksmali="/Users/DexLin/Desktop/创思游戏/sdk/手游h5/纵剑仙界应用宝打包资料/ysdk_smail/baksmali-2.0.3.jar" smali="/Users/DexLin/Desktop/创思游戏/sdk/手游h5/纵剑仙界应用宝打包资料/ysdk_smail/smali-2.0.3.jar" #android.jar的路径

How to modify a pre-packaged apk file on client-side by user who is using my desktop application?

本秂侑毒 提交于 2019-11-29 16:32:35
问题 Well, I know the title is not well-written, but my case is as complicated as that! I searched for this case here but other similar questions really differ from mine. Here is my problem: I have written an Android program which displays contents (text, images, etc. in raw format) that is stored in "assets" folder. Now I want to deliver this app along with a windows application (also written by me) to end users, which lets them add contents to "assets" folder of the apk file and output the

Xamarin Studio 2 - latest stable update - Error executing task Aapt: The source sequence is empty

為{幸葍}努か 提交于 2019-11-29 13:56:33
I am using the trial version of Xamarin Studio for my final year project consisting an android application. Everything went smooth initially. But today right after updating to the latest stable version, i encountered an error (as stated on the title of this post). The build log is as follows: Building Solution: MyActivity.Mobile (Debug) Building: MCAAndroid (Debug) Build started 05/18/2013 17:04:44. Project "/Users/hazimanabhmy/Projects/MyActivity.Mobile/MCAAndroid/MCAAndroid.csproj" (Build target(s)): Target _CheckProjectItems: CheckProjectItems Task NativeLibraries: JavaLibraries:

aapt error 138 processDebugResources

时光怂恿深爱的人放手 提交于 2019-11-29 13:16:39
Ran in to this frustrating error today when building/making project, this seems to be since installing Android SDK 22.6 (have tried the 22.6.1 too) using build tools 19.0.1,19.0.2 and 19.0.3. The aapt error is causing R.java not to be generated. I thought it was something project related as I have another project that builds ok. I've tried cleaning project/workspace, new workspace, reinstall Eclipse and Android SDK, then ported to Android studio gradle which is the error I've included below. Edit: I also reverted project to previous commit that worked Anyone ran in to this kind of thing?