如何提取的apk文件code文件、apk、code

2023-09-12 21:43:23 作者:爱过方知情重

其实我试图提取$ C $称为cloudfilz.apk一个的apk文件c和希望在它的源$ C ​​$ C来操作,所以我跟着下面的步骤: -

Actually i trying to extract code of an .apk file called cloudfilz.apk and wanted to manipulate in its source code so i followed the steps given below:-

创建一个新的文件夹,并把.apk文件的文件(要取消code)现在重命名扩展.ZIP此的.apk文件(如:从filename.apk到filename.apk.zip重命名)并保存it..now你classes.dex文件等......在这个阶段,你可以看到绘制但不XML和Java文件...所以继续...

make a new folder and put .apk file (which you want to decode) now rename this .apk file with extension .zip (eg:rename from filename.apk to filename.apk.zip) and save it..now you get classes.dex files etc...at this stage you are able to see drawable but not xml and java file...so continue...

步骤2:

现在提取在同一文件夹这个压缩apk文件(在此如或案件的新文件夹)。现在dowmload dex2jar从这个链接 HTTP://$c$c.google.com/p/dex2jar/ 并将其解压到同一文件夹(在这种情况下,新文件夹)......现在打开命令提示符,并达到该文件夹​​(在这种情况下,新文件夹)....达到写dex2jar classes.dex后preSS进入.....现在你在同一个文件夹classes.dex.dex2jar文件......

now extract this zip apk file in the same folder(in this eg or case NEW FOLDER). now dowmload dex2jar from this link http://code.google.com/p/dex2jar/ and extract it to the same folder (in this case NEW FOLDER).....now open command prompt and reach to that folder (in this case NEW FOLDER)....after reaching write "dex2jar classes.dex" and press enter.....now you get classes.dex.dex2jar file in the same folder......

=>问题: - 我是全成实现步骤1,但在当我执行dex2jar classes.dex我得到的命令提示符下一个错误第二步因为java.lang.UnsupportedClassVersionError ,我知道这是我安装了JDK版本和classes.dex JDK版本号,所以在这里停留和DNT之间由于incompability有出路......

=>Question:-I was successfull to achieve step 1 but in step2 when i am executing dex2jar classes.dex i am getting an error on command prompt java.lang.UnsupportedClassVersionError ,I know this is due incompability between my installed jdk version and classes.dex jdk version number so stuck here and dnt have way out...

推荐答案

从市场或无符号任何的.apk文件

Any .apk file from market or unsigned

如果您的apk从市场下载,因此签署了从市场安装天文文件管理器。打开天文>工具>应用程序管理器/备份,然后选择到SD卡上的应用程序进行备份。 安装手机作为USB驱动器,并获得backupsapps文件夹中找到目标应用的APK(可以称之为app.apk)。将其复制到本地驱动器一样是无符号的apk的情况。

If you apk is downloaded from market and hence signed Install Astro File Manager from market. Open Astro > Tools > Application Manager/Backup and select the application to backup on to the SD card . Mount phone as USB drive and access 'backupsapps' folder to find the apk of target app (lets call it app.apk) . Copy it to your local drive same is the case of unsigned .apk.

从这个链接下载Dex2Jar邮编: HTTP://$c$c.google.com/ P / dex2jar /

Download Dex2Jar zip from this link :http://code.google.com/p/dex2jar/

解压缩下载的zip文件。

Unzip the downloaded zip file.

打开命令提示符和放大器;在到达以直供,其中dex2jar exe文件是存在的,也复制在同一目录下的APK写下面的命令。

Open command prompt & write the following command on reaching to directry where dex2jar exe is there and also copy the apk in same directory.

dex2jar targetapp.apk文件(./ dex2jar app.apk端子)

dex2jar targetapp.apk file(./dex2jar app.apk on terminal)

http://java.decompiler.free.fr/?q=jdgui 下载反编译器从这个链接。

http://java.decompiler.free.fr/?q=jdgui download decompiler from this link.

打开targetapp.apk.dex2jar.jar与JD-GUI 文件>保存从各方面萨瓦在罐子的类文件,java文件。

Open ‘targetapp.apk.dex2jar.jar’ with jd-gui File > Save All Sources to sava the class files in jar to java files.