How To Decompile An Android APK Easily

Let’s get started.

We will need the following tools in order to start working:

Dex2jar - download from here: https://sourceforge.net/projects/dex2jar/

Jd-gui - download from here: http://jd.benow.ca/

Follow the steps below:

  1. Rename your apk from name.apk to name.zip
  2. Extract the contents
  3. Copy class.dex and paste it into your dex2jar directory (You might have multiple class.dex files depending on the app)
  4. Open CMD and navigate to dex2jar’s path.
  5. Execute the following command: d2j-dex2jar.bat class.dex or d2j-dex2jar.bat class.dex class2.dex etc. if you have more than one .dex files.
  6. This should spawn new .jar files. Run jd-gui and open the jar files.
  7. That’s it.

Happy learning!

8 Likes

Thankyou now i can easily reverse engineer apps or modify them :star_struck:

1 Like