You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What seems to be the problem?
First of all, I would like to thank you guys so much for developing and
releasing such and excellent and useful tool. That being said, I was wondering
what format is used to encode the R$string.smali file, or for that matter, any
of the .smali files. I wished to be able to see the string values for the
strings I added to my .apk file but I currently only see the string names. For
ex., if I entered the string:
"DrNick" with value "Hi Everybody" in Java, once the .dex file has been
de-assembled, the R$string.smali file shows:
".field public static final DrNick:I = 0x7f040002". Is there a way to get the value "Hi Everybody" to show up in the .smali file or what is the encoding method used so I can try to return the string to it's original value?
What version are you using?
1.2.2
Please provide any additional information below: error messages, symptoms,
etc.
If at all possible, I would really appreciate it if I could get to take a look
at the source code to edit and figure out the encoding issue.
Thank you so much in advance for this program and all your help!
Original issue reported on code.google.com by andypa...@gmail.com on 10 Jun 2010 at 8:26
The text was updated successfully, but these errors were encountered:
This really isn't a "smali thing". This is more of an android resource thing.
Smali doesn't know or care about android resources, all it knows about is
whatever is in the dex file. The string value that you want is stored in the
binary xml files in the apk. You might take a look at brutall's apktool - I
think he has some resource related stuff, although I'm not positive about that.
You might also check out AXmlPrinter2, which can convert those binary xml files
back into textual xml.
The source code to smali is available. The procedure for building it is
documented at http://code.google.com/p/smali/wiki/BuildProcedure
Original comment by JesusFr...@gmail.com on 10 Jun 2010 at 8:37
Original issue reported on code.google.com by
andypa...@gmail.com
on 10 Jun 2010 at 8:26The text was updated successfully, but these errors were encountered: