Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

apk to dex conversion

Tags:

android

apk

dex

How to convert .apk files to .dex files?

Please help.

like image 445
Bhagya Avatar asked Feb 01 '11 12:02

Bhagya


People also ask

How do I extract a .DEX file?

Manual way First you need a tool to extract all the (compiled) classes on the DEX to a JAR. There's one called dex2jar, which is made by a chinese student. Then, you can use jd-gui to decompile the classes on the JAR to source code. The resulting source should be quite readable, as dex2jar applies some optimizations.


1 Answers

  • Rename the .apk to .zip
  • Extract the files from the zip
  • In the extracted files, you will get your desired dex file

Why would you need the dex file though? Its byte code file for dalvik VM.

like image 190
Sarwar Erfan Avatar answered Sep 18 '22 16:09

Sarwar Erfan