Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Help to recompile Systemui.apk (ERROR)

OP jairom21

10th April 2014, 01:47 AM   |  #1  
OP Junior Member
Thanks Meter: 3
 
18 posts
Join Date:Joined: Jul 2013
Good night, and thanks in advance .
My mobile is the Vivo Xplay, in the version 4.2.2
It is the first time I'm trying to translate a rom and I've some . Apk without problems.
Now I encounter a problem with systemiu.apk , as it gives me error when I try to recompile the.
This is the log:


Exception in thread " main" brut.androlib.AndrolibException : brut.directory.PathNotExist : apktool.yml
at brut.androlib.Androlib.readMetaFile ( Androlib.java : 244 )
at brut.androlib.Androlib.build ( Androlib.java : 268 )
at brut.androlib.Androlib.build ( Androlib.java : 258 )
at brut.apktool.Main.cmdBuild ( Main.java : 236 )
at brut.apktool.Main.main ( Main.java : 88)
Caused by: brut.directory.PathNotExist : apktool.yml
at brut.directory.AbstractDirectory.getFileInput ( AbstractDirectory.java : 103 )
at brut.androlib.Androlib.readMetaFile ( Androlib.java : 240 )
4 more ...
The system can not find the file specified .
The system can not find the file specified .

No I'm doing wrong , because as I said , I've translated the framework.apk and a few more .
My steps were:
1 - decompile the rom
2 - Translate strings.xml file in the values ​​folder ( I have not touched any other file)
3 - Back to compile (I've proven to decompile and untranslated recompiling and nothing gives me the same error)

If the systemiu.apk descompilo separate file I get this:


W : Could not decode attr value, using undecoded value instead : ns = android, name = textColor , value = 0x03090015
W : Could not decode attr value, using undecoded value instead : ns = android, name = textColor , value = 0x03090015
W : Could not decode attr value, using undecoded value instead : ns = android, name = button, value = 0x0302009a
Cleaning up for unclosed ZipFile archive C: \ Users \ LosNenes \ apktool \ framework \ 3.apk
Exception in thread " main" brut.androlib.err.UndefinedResObject : resource spec : 0x030e001b
at brut.androlib.res.data.ResPackage.getResSpec ( ResPackage.java : 59)
at brut.androlib.res.data.ResTable.getResSpec ( ResTable.java : 59)
at brut.androlib.res.data.ResTable.getResSpec ( ResTable.java : 55 )
at brut.androlib.res.data.value.ResReferenceValue.get Referent ( ResReferenceValue.java : 60 )
at brut.androlib.res.data.value.ResReferenceValue.enc odeAsResXml ( ResReferenceValue.java : 47 )
at brut.androlib.res.data.value.ResScalarValue.encode AsResXmlAttr ( ResScalarValue.java : 45 )
at brut.androlib.res.data.value.ResStyleValue.seriali zeToResValuesXml ( ResStyleValue.java : 49 )
at brut.androlib.res.AndrolibResources.generateValues File ( AndrolibResources.java : 553 )
at brut.androlib.res.AndrolibResources.decode ( AndrolibResources.java : 309)
at brut.androlib.Androlib.decodeResourcesFull ( Androlib.java : 116 )
at brut.androlib.ApkDecoder.decode ( ApkDecoder.java : 114 )
at brut.apktool.Main.cmdDecode ( Main.java : 169 )
at brut.apktool.Main.main ( Main.java : 85 )

Not to do , so I ask for help as it is my last option , I've tried everything I could be reading to learn, but I found a wall.

Thank you very much again.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes