2013年8月6日星期二

The obtained res android decompile the xml configuration files andimages and other resources

 

decompile a program's source code, is a good way of learning. Note I use in practice decompile method.

 

use of the environment: win7

 

steps:

 

1, download tool http://code.google.com/p/android-apktool/

 

a total two, Version v1. 5.2 (direct download) and Version r05-ibot (need to select the type of operating system)

 

were unpacked, find aapt.exe apktool.bat apktool.jar three files, copy to the c drive inside a folder (into a folder on the line, such as c: \ apktool)

 

2, decompile

 

locate apktool.bat folder (sequentially Start> ; Run> type cmd> Enter, then type cd c: \ apktool)

 

enter the following command: apktool dc: \ aaaaa.apk ; c: \ bbbbb

 

where aaaaa pledged to decompile the source file, note This file should be placed in the root directory of the c drive

 

bbbbb Files under there that we want the content. .

 

3, will decompile generated folder repackaged into apk

 

enter the command: apktool bc: \ bbbbb can

 

bbbbb file after this step two more under dist folder and build, packaged into the apk under the dist.

 

没有评论:

发表评论