Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view extracted xml files in android?

Tags:

android

xml

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.

like image 426
user1844638 Avatar asked Dec 19 '12 07:12

user1844638


2 Answers

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

like image 127
Sharanabasu Angadi Avatar answered Sep 29 '22 14:09

Sharanabasu Angadi


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

  • option 1

  • option 2

like image 23
Ram kiran Pachigolla Avatar answered Sep 29 '22 16:09

Ram kiran Pachigolla