我在我的 android 项目中使用一个外部库,在调用该库导入的类时出现 javalang 验证错误,它是 java.jxl 库
任何帮助,我在我的库项目中创建了一个名为 lib 的目录,然后在库中引用它。这个库与原始的 android 应用程序链接。
我也得到以下信息
11-16 18:12:40.230: W/dalvikvm(14253): VFY: unable to resolve static method 260: Ljxl/Workbook;.getWorkbook (Ljava/io/InputStream;)Ljxl/Workbook;
11-16 18:12:40.230: D/dalvikvm(14253): VFY: replacing opcode 0x71 at 0x000c
11-16 18:12:40.230: W/dalvikvm(14253): VFY: unable to resolve exception class 124 (Ljxl/read/biff/BiffException;)
11-16 18:12:40.230: W/dalvikvm(14253): VFY: unable to find exception handler at addr 0x11
11-16 18:12:40.230: W/dalvikvm(14253): VFY: rejected Lcom/kd/hockymain/Kdexcel;.getfile ()V
11-16 18:12:40.230: W/dalvikvm(14253): VFY: rejecting opcode 0x0d at 0x0011
11-16 18:12:40.230: W/dalvikvm(14253): VFY: rejected Lcom/kd/hockymain/Kdexcel;.getfile ()V
11-16 18:12:40.230: W/dalvikvm(14253): Verifier rejected class Lcom/kd/hockymain/Kdexcel;