Decompile .apk in Android

I would like to decompile and recompile .apk in Android (I want to access the Android manifest of some applications). I know APKTool, but I want to know if apk can be decompiled in Android (decompiler as an Android application).

+4
source share
2 answers

Getting a manifest is easy. Change the extension from .apk to .zip and extract the manifest. In most cases, he remained untouched and strong. In case this is not the case, there are many free open source tools you can use. APKTool is a great tool to use. By looking at the source code , you can better understand how to achieve this, and then you can implement it in the Android environment.

+9
source

Shameless plugin, I just created an open source package that controls the process of decompiling the APK at https://github.com/lxdvs/apk2gold .

apktool decompiles Smali; my package, apk2gold, is decompiled in Java.

+2
source

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


All Articles