Extracting Android .apk and reading contents of XML file in res/layout

I think you can use android-apktool. The XML files look very well.


Create a new folder and put the .apk file which you want to decode into that.

Download the latest version of from here.

Open cmd then navigate to the root directory of APKtool and type the following command:

apktool d myApp.apk 

(where myApp.apk is the filename that you want to decode)

now you get a file folder in that folder and can easily read the apk's xml files.

Here is the link for more detail install instructions


For those Who are shortcut lovers: and using ubunto,

go to cmd : ctl+alt+t

type:

sudo apt install apktool

press enter then go to your apk(to decompile) folder. by using

cd ~/folder_name

then type:

apktool d yourAppName.apk

and boom , you are done.

Tags:

Java

Android