Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
fishman0919
Old
#1  
fishman0919's Avatar
Senior Member - OP
Thanks Meter 874
Posts: 1,556
Join Date: Sep 2009
Location: Providence, RI
Default Have an issues Decompiling and Re-compiling

Having an issues Decompiling and Re-compiling.

I'm trying to theme the Mms.apk and I'm getting errors decompiling... then on re-compile.

Can anyone point me in the right direction?

Code:
C:\apk>apktool.bat d Mms.apk ./out
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Fishman\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x02070015
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemStyle, value=0x02010020
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a0197
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000d
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02070011
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000d
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a0210
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a020f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000d
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a01c0
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a01c1
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemStyle, value=0x02010020
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a0135
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemStyle, value=0x02010020
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
I: Decoding values*/* XMLs...
I: Done.
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.

C:\apk>
Code:
C:\apk>apktool.bat b -f -d out
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
        at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
        at brut.androlib.Androlib.build(Androlib.java:159)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:182)
        at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
        at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
        at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
        ... 4 more

C:\apk>
Main Phone: T-Mobile Galaxy S 3
Secondary Phone: T-Mobile Vibrant
SD Card: Wintec 32GB Micro SDHC
Galaxy S 3 Rom: Fishman Droid'ish
Vibrant Rom: Vibrant - Droid RAZR v2.3
 
fishman0919
Old
#2  
fishman0919's Avatar
Senior Member - OP
Thanks Meter 874
Posts: 1,556
Join Date: Sep 2009
Location: Providence, RI
Got it...

Nevermind
Main Phone: T-Mobile Galaxy S 3
Secondary Phone: T-Mobile Vibrant
SD Card: Wintec 32GB Micro SDHC
Galaxy S 3 Rom: Fishman Droid'ish
Vibrant Rom: Vibrant - Droid RAZR v2.3
 
yasasflash
Old
(Last edited by yasasflash; 3rd July 2012 at 09:23 AM.)
#3  
Member
Thanks Meter 24
Posts: 65
Join Date: Nov 2011
Hey fishman0919 how did you solve this problem. coz i get the same error message

** Edit ***
Never mind got it too lol
in my case it was damn SemcGenericUxpRes.apk
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...