Bhagya
Bhagya

Reputation: 61

apk to dex conversion

How to convert .apk files to .dex files?

Please help.

Upvotes: 5

Views: 19362

Answers (3)

Cyker
Cyker

Reputation: 10994

An APK is actually a ZIP file. So you can decompress it with:

unzip app.apk

The DEX file is in the decompressed folder.

From your question I think now you are done. Decompiling the DEX file is another story.

Upvotes: 5

AitorTheRed
AitorTheRed

Reputation: 553

Here you can find a dissambler: http://code.google.com/p/smali/ And in this two post you can get more information about the process: http://zeaster.blogspot.com/2007/11/how-to-decompile-dex-file-on-android_28.html http://mylifewithandroid.blogspot.com/2009/01/disassembling-dex-files.html

Upvotes: 2

Sarwar Erfan
Sarwar Erfan

Reputation: 18058

  • 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.

Upvotes: 18

Related Questions