从APK文件添加到项目逆向工程 [英] Reverse engineering from an APK file to a project

查看:243
本文介绍了从APK文件添加到项目逆向工程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无意中删除从的Eclipse 我的项目,而我已经离开是的APK 文件。有没有办法扭转出口申请到的.apk文件的过程,所以我可以得到我的项目回来?

解决方案

有两个有用的工具,将生成的Java code(粗糙,但不够好),从一个名不见经传的APK文件。

  1. dex2jar 下载dex2jar工具。
  2. 使用工具将APK文件转换为 JAR
  

dex2jar.bat是德precated,使用d2j-dex2jar代替(v0.0.9.15)

<醇开始=3>
  • 一旦生成JAR文件,使用 JD-GUI 打开JAR文件。您将看到Java文件。
  • 输出将类似于:

    I accidently erased my project from Eclipse, and all I have left is the APK file which I transferred to my phone. Is there a way to reverse the process of exporting an application to the .apk file, so I can get my project back?

    解决方案

    There are two useful tools which will generate Java code (rough but good enough) from an unknown APK file.

    1. Download dex2jar tool from dex2jar.
    2. Use the tool to convert the APK file to JAR.

    dex2jar.bat is deprecated, use d2j-dex2jar instead (v0.0.9.15)

    1. Once the JAR file is generated, use JD-GUI to open the JAR file. You will see the Java files.

    The output will be similar to:

    这篇关于从APK文件添加到项目逆向工程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆