Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top