How to decompile .apk file?

  • one
    no way Well, or apktool can help. - pavel
  • 6
    What plan do you want to receive the answer? I think no one will describe the full decompilation process, but you can find a lot of information on the Internet on request, for example, “decompiling apk”, and then ask a specific question. But in general, this is a difficult and not always effective case. - s8am
  • 2
    apk does not contain the source code, therefore no way. - Vladimir Martyanov

2 answers 2

apk contains only byte-code (.smali files, not source), which can be obtained with the apktool utility (or others based on it). The byte code can be converted to java-code with the dex2jar utilities and into the "sources" by the jd gui utility (or others based on them).

However, it is possible to call the result obtained as a full-fledged source code with a big stretch, most often it is impossible to reassemble apk from such “source codes” without doing a titanic work.

The readability of such "sources" is also, to put it mildly, questionable. The result is approximately the same as machine translation: Russian - English - French - Russian, that is, no.

  • A good comparison with machine translation. - αλεχολυτ

You can use one of apk decompilers, for example this , or this . On the Internet you can find a lot of information on decompilers, and guides / docks on them.