kuter007 / android-apktool

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

LG G3 Lollipop - apktool if failing on lge-res.apk #707

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
-- What steps will reproduce the problem?

1. java -jar apktool-cli.jar if lge-res.apk
(compiled from latest apktool source)

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

framework installed to ...

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

Apktool v2.0.0-ce2088-SNAPSHOT / OSX & Linux 

-- Please provide any additional information below.

When attempting to install lge-res.apk, it comes up with this error. It looks 
like lollipop has some new value types...

Exception in thread "main" brut.androlib.AndrolibException: Invalid value type: 
7
    at brut.androlib.res.data.value.ResValueFactory.factory(ResValueFactory.java:62)
    at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:211)
    at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:169)
    at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:157)
    at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:125)
    at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:100)
    at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:39)
    at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:662)
    at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:644)
    at brut.androlib.Androlib.installFramework(Androlib.java:636)
    at brut.apktool.Main.cmdInstallFramework(Main.java:240)
    at brut.apktool.Main.main(Main.java:87)

=========================================
lge-res.apk too big for this, so download it from here : 

https://dl.dropboxusercontent.com/u/82548945/lge-res.apk
=========================================

Original issue reported on code.google.com by NPRuss...@gmail.com on 18 Nov 2014 at 6:45

GoogleCodeExporter commented 9 years ago
I just noticed this is exactly the same as issue 706. Sorry about that. That 
wasn't there when I started looking for this!

Original comment by NPRuss...@gmail.com on 18 Nov 2014 at 6:50

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 18 Nov 2014 at 8:04