desword / android-apktool

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

2.0.0 Beta 8 #592

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Android 4.4.2

First issue related to compiling Checkin.apk
Exception in thread "main" java.nio.file.ReadOnlyFileSystemException
    at com.sun.nio.zipfs.ZipFileSystem.checkWritable(ZipFileSystem.java:155)
    at com.sun.nio.zipfs.ZipFileSystem.createDirectory(ZipFileSystem.java:416)
    at com.sun.nio.zipfs.ZipPath.createDirectory(ZipPath.java:634)
    at com.sun.nio.zipfs.ZipFileSystemProvider.createDirectory(ZipFileSystemProvider.java:201)
    at java.nio.file.Files.createDirectory(Unknown Source)
    at java.nio.file.Files.createAndCheckIsDirectory(Unknown Source)
    at java.nio.file.Files.createDirectories(Unknown Source)
    at brut.androlib.Androlib.insertFolder(Androlib.java:607)
    at brut.androlib.Androlib.buildUnknownFiles(Androlib.java:565)
    at brut.androlib.Androlib.build(Androlib.java:293)
    at brut.androlib.Androlib.build(Androlib.java:258)
    at brut.apktool.Main.cmdBuild(Main.java:236)
    at brut.apktool.Main.main(Main.java:88)
Cleaning up unclosed ZipFile for archive 
C:\Users\ALEXAN~1\AppData\Local\Temp\APKTOOL4531284366179863176.tmp

Second issue related to com.htc.resources and decompiling Updater.apk

W: Could not decode attr value, using undecoded value instead: ns=android, 
name=title, value=0x02040257
W: Could not decode attr value, using undecoded value instead: ns=htcfooter, 
name=footerButtonImage, value=0x020800a7
W: Could not decode attr value, using undecoded value instead: ns=htcfooter, 
name=footer_display_mode, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=divider, value=0x02080035
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingTop, value=0x02050001
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050001
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050001
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingTop, value=0x02050001
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050002
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050002
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingTop, value=0x02050001
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050002
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingTop, value=0x02050001
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingTop, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=layout_marginLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=text, value=0x0204026b
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=title, value=0x02040178
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=padding, value=0x02050003
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=minHeight, value=0x02050012
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=layout_marginTop, value=0x02050005
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawablePadding, value=0x02050003
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=minHeight, value=0x02050012
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=layout_marginLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=layout_marginTop, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=layout_marginRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=layout_marginBottom, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=layout_marginTop, value=0x0205000e
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=layout_marginRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=layout_marginBottom, value=0x02050007
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=minHeight, value=0x02050012
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingTop, value=0x02050003
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050003
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=minHeight, value=0x02050012
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=layout_marginTop, value=0x02050005
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawablePadding, value=0x02050003
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingTop, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingRight, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=htc, 
name=textMode, value=0x00000000
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\1.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive 
C:\Users\Alexander\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=text, value=0x0204026b
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingTop, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=paddingBottom, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=minHeight, value=0x02050012
W: Could not decode attr value, using undecoded value instead: ns=htcfooter, 
name=footer_display_mode, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=htcfooter, 
name=footer_display_mode, value=0x00000001
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: 
spec=0x020500c0 dimen/title_primary_xs, config=-hdpi
    at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)
    at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)
    at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:199)
    at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:168)
    at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:134)
    at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:109)
    at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
    at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:603)
    at brut.androlib.res.AndrolibResources.loadFrameworkPkg(AndrolibResources.java:108)
    at brut.androlib.res.data.ResTable.getPackage(ResTable.java:74)
    at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57)
    at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53)
    at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:60)
    at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
    at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResScalarValue.java:57)
    at brut.androlib.res.data.value.ResScalarValue.serializeToResValuesXml(ResScalarValue.java:70)
    at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:552)
    at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:307)
    at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:116)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:115)
    at brut.apktool.Main.cmdDecode(Main.java:169)
    at brut.apktool.Main.main(Main.java:85)

Files for investigation are available here:
https://www.dropbox.com/s/9ofh7vx7iftjnzc/investigation.rar

Original issue reported on code.google.com by LlabToofeR on 17 Jan 2014 at 9:11

GoogleCodeExporter commented 9 years ago
First is duplicate - 
https://code.google.com/p/android-apktool/issues/detail?id=527
Second is duplicate as well - 
https://code.google.com/p/android-apktool/issues/detail?id=534

Original comment by connor.tumbleson on 19 Jan 2014 at 11:46