Question

I'm looking for a decent Android disassembler, preferably free, which disassembles an *.apk, producing Java source code. What I've used so far is apktool which is not what I am looking for, because it disassembles an *.apk into *.smali files.

Also I'm on Linux currently. I could use Windows if there is no other choice, though.

Is there such a disassembler?

Was it helpful?

Solution

I use dex2jar along with jd-gui (both tools use java), with these steps:

  1. Extract the classes.dex file from the apk file
  2. Use dex2jar to create a jar file
  3. Use jd-gui to explore the classes and/or export to java source

Notice obfuscated code will be hard to read, but that is to be expected.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top