Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲
 Android教程網 >> Android技術 >> 關於Android編程 >> Android APK 反編譯

Android APK 反編譯

編輯:關於Android編程

想要查看那些常用的流行軟件是如何編寫的,你就有福了。把apk反編譯就好了,這裡看看如何反編譯apk。   One. Decompile Apk get Java source code    Reprinted from: http://hi.baidu.com/% CB% BF% D4% B5% CC% EC% CF% C2/blog/item/2284e2debafc541e495403ec.html    Tools Download: required to dex2jar and JD-GUI tools that 2    dex2jar Download: http://laichao.googlecode.com/files/dex2jar-0.0.7-SNAPSHOT.zip  JD-GUI Download:  windows version of JD-GUI: http://laichao.googlecode.com/files/jdgui.zip  Linux version of JD-GUI: http://laichao.googlecode.com/files/jd-gui-0.3.2.linux.i686.tar.gz    Steps:    1. First, find the Android software installation package classes.dex  To. Apk file renamed. Zip, then unzip the file by one of the classes.dex, it is java file is compiled and then packaged by dx tool, so now we use the above mentioned two tools to reverse the direction of export java source files    2. The classes.dex copy dex2jar.bat directory.  Location at the command line mode to dex2jar.bat directory, run dex2jar.bat classes.dex, generate classes.dex.dex2jar.jar    3. Run JD-GUI tool (which is green not installed)  Open the top of the jar file, you can see the source code    -------------------------------------------------- -------------------------------    -------------------------------------------------- -------------------------------    II. Apk decompile the source code generator and images, XML configuration, language resources and other documents.    Reprinted from: http://blog.sina.com.cn/s/blog_5752764e0100kv34.html    Tools Download:    In http://code.google.com/p/android-apktool/ download, apktool-1.0.0.tar.bz2 and apktool-install-windows-2.1_r01-1.zip to be under two packages.    Steps:    1. Extract the downloaded package the two files, apktool-install-windows-2.1_r01-1.zip get the bag unzipped a aapt.exe and apktool.bat. (Note that should apktool-1.0.0.tar . bz2 unzip a. jar file copy in)    2. Open a command window (Start> Run, type cmd, press enter.) Apktool.bat files into the folder.    Input:    apktool d C: \ ***. apk C: \ *** folder    (Command line interpreter: apktool d decompile the files to output folder)    Special Note: You have to decompile the file must be on the C drive's root directory,    3. Open the C: \ *** folder, you can get all the resources of our college.    III. The anti-compiled package into the apk file to re-    Very simple, just type:    apktood bc: *** folder (you compiled folder)
  1. 上一頁:
  2. 下一頁:
熱門文章
閱讀排行版
Copyright © Android教程網 All Rights Reserved