honeynet / apkinspector

APKinspector is a powerful GUI tool for analysts to analyze the Android applications.
826 stars 243 forks source link

Inspect launcher2 of Honeycomb failed [moved] #4

Open ryanwsmith opened 11 years ago

ryanwsmith commented 11 years ago

This is Issue 4 moved from a Google Code project. Added by 2011-09-06T11:08:03.000Z by jameswan...@gmail.com. Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium

Original description

<b>What steps will reproduce the problem?</b>
1. install all software listed in README by Synaptic.
2. start apkinspector and parse launcher2
3. get some console error output and nothing displayed in apkinspector

Below was the error messages:
~/apps/apkinspector$ python startQT.py
Traceback (most recent call last):
  File &quot;/home/james/apps/apkinspector/MyThread.py&quot;, line 24, in run
    Global.VM = DalvikVMFormat(Global.APK.getDex())
  File &quot;/home/james/apps/apkinspector/androguard/core/bytecodes/dvm.py&quot;, line 2768, in __init__
    self.load_class()
  File &quot;/home/james/apps/apkinspector/androguard/core/bytecodes/dvm.py&quot;, line 2771, in load_class
    self.__header = HeaderItem( 0, self, ClassManager() )
  File &quot;/home/james/apps/apkinspector/androguard/core/bytecodes/dvm.py&quot;, line 617, in __init__
    self.format = SVs( HEADER[0], HEADER[1], buff.read( calcsize(HEADER[0]) ) )
  File &quot;/home/james/apps/apkinspector/androguard/core/bytecode.py&quot;, line 296, in __init__
    self.__value = ntuple._make( unpack( self.__size, buff ) )
struct.error: unpack requires a string argument of length 112
Traceback (most recent call last):
  File &quot;startQT.py&quot;, line 188, in on_actNew_triggered
    self.Tab_Methods(Global.APK, Global.VM, Global.VMX)
AttributeError: 'module' object has no attribute 'VM'