Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,281 Members 51,615 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Parse error on recompiled framework-res.apk?

Tip us?
 
WhiteNeo
Old
#1  
WhiteNeo's Avatar
Senior Member - OP
Thanks Meter 409
Posts: 807
Join Date: Feb 2013

 
DONATE TO ME
Default [Q] Parse error on recompiled framework-res.apk?

Hey everyone..
Currently, I am trying to change one value in the res/values/drawables.xml file of the Xperia V .145 framework-res.apk file...
Decompiling works perfectly, no errors..
When recompiling, Apktool shows a warning, that one string is missing in some languages.. Should not be much of an issue.
When recompiling is done, the framework file shows a parse error.. I have tried signing it, but this didn't work... Any ideas what I am doing wrong?

Btw, would it work to paste the resources.arsc file from my modified framework into the base framework-res?

Any help would be appreciated!
(Also, if I don't get it to work myself, might there be a nice guy that does the mood for me?
It's only replacing two numbers, no problem usually

Sent from my LT25i using xda app-developers app
My work:
  • OmniRom - Neo Edition: A fully Z2 themed custom rom for the Sony Xperia V (Link)
 
WhiteNeo
Old
(Last edited by WhiteNeo; 20th January 2014 at 03:54 PM.)
#2  
WhiteNeo's Avatar
Senior Member - OP
Thanks Meter 409
Posts: 807
Join Date: Feb 2013

 
DONATE TO ME
Update... Just tried another framework-res.apk.. Works perfectly after recompiling..
So it must be an issue with the .145 framework..


Hmm.. Can I mix frameworks of different firmware versions?

Edit: Nevermind.. Even framework-res.apk from .140 firmware has the parse error after recompiling.

I have no idea how to do this! >.<
Might it be an issue with Apktool app for Android?

Sent from my LT25i using xda app-developers app
My work:
  • OmniRom - Neo Edition: A fully Z2 themed custom rom for the Sony Xperia V (Link)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes