kuter007 / android-apktool

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

Netflix app can't be decoded #766

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run 'java -jar apktool_2.0.0rc4.jar decode -s 
com.netflix.mediaclient-4105.apk

What is the expected output? What do you see instead?

Decode should work.  But I got the following instead:

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 
0x0101048f
    at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
     at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57)
 at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53)
 at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:36)
      at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:369)
  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$1.event(XmlPullStreamDecoder.java:83)
 at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
 at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)
        at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:114)
     at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:99)
      at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:339)
       at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:133)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:104)
 at brut.apktool.Main.cmdDecode(Main.java:165)
   at brut.apktool.Main.main(Main.java:81)

What version of the product are you using? On what operating system?

apktool_2.0.0rc4.jar, on ubuntu 14.04 x64

Please provide any additional information below.

Original issue reported on code.google.com by gipima...@gmail.com on 25 Feb 2015 at 9:01

GoogleCodeExporter commented 9 years ago
Looks like a FrameworkFiles problem.

Couldn't duplicate with RC4 on Ubuntu 14.04

ibotpeaches@raganok:~/Downloads/Apktool/Bug766$ apktool d 
com.netflix.mediaclient-3.9.1_build_4105-4105-minAPI14.apkI: Using Apktool 
2.0.0-RC4 on com.netflix.mediaclient-3.9.1_build_4105-4105-minAPI14.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ibotpeaches/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
ibotpeaches@raganok:~/Downloads/Apktool/Bug766$ 

Original comment by connor.tumbleson on 25 Feb 2015 at 10:46