How to decompile .apk
file?
- oneno way Well, or apktool can help. - pavel
- 6What 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
- 2apk does not contain the source code, therefore no way. - Vladimir Martyanov
|
2 answers
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. - αλεχολυτ
|