FORUMS
Post Reply Subscribe to Thread Email Thread

apktool problem

4th January 2014, 10:45 AM |#1  
OP Senior Member
Thanks Meter: 190
 
More
Every time I try to decompile an app, I get this:

Code:
C:\Windows>apktool d w.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Inderchand\apktool\framework\1.apk

I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_alignParentEnd, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_alignParentEnd, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_alignParentEnd, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
showAsAction, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_alignParentEnd, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAlignment, value=0x00000004
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x0103012b
        at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
        at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
        at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
        at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:62)
        at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
        at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:44)
        at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(Re
sStyleValue.java:48)
        at brut.androlib.res.data.value.ResBagValue.serializeToResValuesXml(ResB
agValue.java:40)
        at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.java:440)
        at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243
)
        at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
        at brut.apktool.Main.cmdDecode(Main.java:146)
        at brut.apktool.Main.main(Main.java:77)
Google search leads me to other people having the problem, but no solution. Help?
 
 
4th January 2014, 10:50 AM |#2  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,061
 
Donate to Me
More
Is the version up to date? What is your Java version? Do you have the right aapt file?

Sent from my Nexus 4 using Tapatalk
4th January 2014, 12:02 PM |#3  
OP Senior Member
Thanks Meter: 190
 
More
Everything is freshly downloaded, newest versions of Java JRE, Java SDK, apktool
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes