user1844638
user1844638

Reputation: 1073

How to view extracted xml files in android?

I have extracted the code from an apk file while i am able to view the java code in eclipse i am not able to view the xml code.

The xml code is showing some garbage code.

Thank you in advance.

Upvotes: 5

Views: 12408

Answers (2)

Sharanabasu Angadi
Sharanabasu Angadi

Reputation: 4372

Hey instead of extracting just code. use apktool to decompile the apk.

usage:

apktool d <apk_file> <folder>

the folder contains all the xmls resources and code too

cheers

Upvotes: 7

Ram kiran Pachigolla
Ram kiran Pachigolla

Reputation: 21191

I think You can decode them using a Java program - AXMLPrinter2.jar.

Upvotes: 1

Related Questions