sky201503 / android-apktool-1

Automatically exported from code.google.com/p/android-apktool
0 stars 0 forks source link

Decompile the application failed #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I can not decompile this application - Jota Text Editor
http://www.appbrain.com/app/jota-text-editor/jp.sblo.pandora.jota

Original issue reported on code.google.com by DeathSta...@gmail.com on 18 May 2011 at 7:11

GoogleCodeExporter commented 9 years ago
$ apktool d jp.sblo.pandora.jota-1.apk 
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /home/brutall/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

What version of apktool do you use? What error do you get?

Original comment by Brut.alll on 19 May 2011 at 11:54

GoogleCodeExporter commented 9 years ago
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: 
C:\Users\DeathStalker\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=theme, value=0x010300a3
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 
0x010300a3
    at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
    at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
    at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
    at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
    at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
    at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
    at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
    at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:315)
    at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
    at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
    at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
    at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:46)
    at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
    at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)
    at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:114)
    at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
    at brut.apktool.Main.cmdDecode(Main.java:120)
    at brut.apktool.Main.main(Main.java:57)

I use apktool 1.4.1

Original comment by DeathSta...@gmail.com on 19 May 2011 at 12:23

GoogleCodeExporter commented 9 years ago
Remove C:\Users\DeathStalker\apktool\framework\1.apk and try again.

Original comment by Brut.alll on 19 May 2011 at 2:25

GoogleCodeExporter commented 9 years ago
This helped to solve my problem. 
Thanks! 

Original comment by DeathSta...@gmail.com on 19 May 2011 at 2:49

GoogleCodeExporter commented 9 years ago

Original comment by Brut.alll on 19 May 2011 at 2:59

GoogleCodeExporter commented 9 years ago
I have downloaded the file given in the link and able to decompile the apk file.

But, while recompiling the folder to apk file using "apktool b sample_dir 
sample.apk", and installing the apk file in emulator with

"adb install sample.apk"

I'm getting the following error.

203 KB/s (702101 bytes in 3.374s)
        pkg: /data/local/tmp/sample.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

Original comment by vino4...@gmail.com on 2 Nov 2011 at 1:37

GoogleCodeExporter commented 9 years ago
I have a problem when i'm trying to Compile framework-res.apk with apktool (i 
used apk tool version 1.4.1), in CMD after i'm wrote "apktool b framework-res" 
then there is a warning as shown below or the image that I attach

http://i727.photobucket.com/albums/ww272/bey_cute/error_apktool.jpg

I hope you can help me solve this problem thanks

Original comment by beyvolut...@gmail.com on 21 Nov 2011 at 7:59

Attachments:

GoogleCodeExporter commented 9 years ago
hello ...
anyone has decompile whatsapp.apk
 i am getting same errors as #7 has uploaded picture.

Original comment by sutharja...@gmail.com on 2 Feb 2014 at 7:40