Convert apk to dex

How to convert .apk files to .dex files?

Please, help.

+4
source share
3 answers
  • Rename .apk to .zip
  • Extract files from zip
  • In the extracted files you will get the desired dex file

Why do you need a dex file? Its a bytecode file for dalvik VM.

+14
source

The APK is actually a ZIP file. Therefore, you can unzip it with:

unzip app.apk 

The DEX file is located in the unzipped folder.

From your question, I think you're done now. Decompiling a DEX file is another story.

+2
source

Here you can find disambler: http://code.google.com/p/smali/ And in this two posts you can get additional 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

+1
source

Source: https://habr.com/ru/post/1337939/


All Articles