想用java的反射机制打印android应用软件代码的类结构。把应用软件的jar包和android的jar包都加进去之后,自己的类可以分析,但是遇到class XXX extends Service这种的时候,就出现异常,Exception in thread "main" java.lang.NoClassDefFoundError: android/app/Service。但是如果catch了这个异常,执行之后就会出现
=============== DEBUG MESSAGE: illegal bytecode sequence - method not verified ================#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_PRIV_INSTRUCTION (0xc0000096) at pc=0x009526e1, pid=2664, tid=2944
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 )
# Problematic frame:
# j  com.sohu.util.Base64.<clinit>()V+2
#
# An error report file with more information is saved as:
# C:\Documents and Settings\Administrator\workspace\Test1\hs_err_pid2664.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
请问这个问题应该如何解决!万分感谢!