Exception in thread "main" brut.androlib.AndrolibException

931 views
Skip to first unread message

Himanshi Trivedi

unread,
Jan 9, 2015, 1:50:41 AM1/9/15
to calaba...@googlegroups.com
I am getting the below error message while creating the test server for the apk file.

Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
        at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
        at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:540)
        at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:76)
        at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:68)
        at brut.androlib.Androlib.getResTable(Androlib.java:51)
        at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
        at brut.apktool.Main.cmdDecode(Main.java:148)
        at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
        at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
        at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:43)
        at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
0)
        at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
        at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
        ... 8 more


Please help me out soon from this issue..

rawan rakshash

unread,
Aug 11, 2015, 1:04:52 AM8/11/15
to calabash-ios

rawan rakshash

unread,
Aug 14, 2015, 12:50:42 AM8/14/15
to calaba...@googlegroups.com
Thanks I did it,

did you have any idea about the shell script or ant tool I have create a shell script which work perfectly but the issues is take time 3 or 4 mint to create an apk and, I want build multiple .apk in single time so is there any idea about this or mvn..  

--
You received this message because you are subscribed to a topic in the Google Groups "calabash-ios" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/calabash-ios/PhucHi88soI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to calabash-ios...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages