Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reverse Engineer Android APK to get code? [duplicate]

Tags:

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.

like image 923
Vinod Avatar asked Jun 07 '11 02:06

Vinod


People also ask

Can * .apk be reverse engineered?

An Android app is very easy to reverse engineer, if the developer let some loose ends hanging. Use the dex2jar utility to convert the APK to JAR. Open the JAR in some IDE to look at the code.

Is it possible to get source code from APK?

May be the easy one to see the source: In Android studio 2.3, Build -> Analyze APK -> Select the apk that you want to decompile . You will see it's source code.

Can Android apps be reverse engineered?

In Android app security testing, if the application is based solely on Java and doesn't have any native code (C/C++ code), the reverse engineering process is relatively easy and recovers (decompiles) almost all the source code.

Can you decompile an APK?

Decompilation of APK file is possible. But it might be difficult to understand the code if it is obfuscated.


2 Answers

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

like image 96
Abdullah Jibaly Avatar answered Oct 25 '22 15:10

Abdullah Jibaly


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

like image 44
Nathan Schwermann Avatar answered Oct 25 '22 17:10

Nathan Schwermann