23

Possible Duplicate:
Android: Getting source code from an APK file

Is it possible to reverse engineer a APK file to get the actual code? Please advice. Thank you.

Community
  • 1
  • 1
Vinod
  • 31,933
  • 35
  • 96
  • 119
  • This is know issue you can see the [solution](http://stackoverflow.com/questions/3593420/android-getting-source-code-from-an-apk-file) here – pashaplus Oct 08 '12 at 11:29

3 Answers3

19

You can use http://code.google.com/p/dex2jar/ to convert to a JAR file then open it using http://java.decompiler.free.fr/?q=jdgui

Abdullah Jibaly
  • 53,220
  • 42
  • 124
  • 197
5

Its possible to get the dalvik byte code and the resources decompiled using Apk Tool

Nathan Schwermann
  • 31,285
  • 16
  • 80
  • 91
  • Is there a way to get the Java code or any human understandable code? Thank you for your time. – Vinod Jun 07 '11 at 03:09
  • How can I use this tool to get the xml file. I run the cmd "aapt.exe l c:\app.apk". With this i get the list of files. But when I replace the l command to d. I do not get the dump. Basicall I want to get the folder or file with xml from APK. Is this possible? – Vinod Jun 07 '11 at 05:37
  • I just tested this command and it works `apktool d MyApp.apk ./MyAppDump` – Nathan Schwermann Jun 07 '11 at 06:02
  • Sorry. I had done the installation wrong. I am able to get the xml file now. Thank you for your time. – Vinod Jun 07 '11 at 06:45
2

for Reverse engineering process or getting code from the apk file http://ibotpeaches.github.io/Apktool/

mostar
  • 4,723
  • 2
  • 28
  • 45
Peter
  • 855
  • 2
  • 15
  • 35