读取.xlsx文件时出现验证错误

时间:2013-07-08 13:28:21

标签: android excel exception apache-poi verifyerror

我正在研究使用Apache POI读取和编写excel格式文件的android应用程序,同时读取.xlsx文件我得到以下异常。我想弄清楚,但找不到任何问题的解决方案,如果有人知道解决方案请帮助我。这是logcat错误:

07-08 18:22:07.350: E/AndroidRuntime(4549): FATAL EXCEPTION: main
07-08 18:22:07.350: E/AndroidRuntime(4549): java.lang.VerifyError: org/apache/poi/xssf/usermodel/XSSFWorkbook
07-08 18:22:07.350: E/AndroidRuntime(4549): at com.example.exc2phconverter.Homepage.onActivityResult(Homepage.java:345)
07-08 18:22:07.350: E/AndroidRuntime(4549): at android.app.Activity.dispatchActivityResult(Activity.java:5390)
07-08 18:22:07.350: E/AndroidRuntime(4549): at android.app.ActivityThread.deliverResults(ActivityThread.java:3178)
07-08 18:22:07.350: E/AndroidRuntime(4549): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3225)
07-08 18:22:07.350: E/AndroidRuntime(4549): at android.app.ActivityThread.access$1100(ActivityThread.java:140)
07-08 18:22:07.350: E/AndroidRuntime(4549): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1275)
07-08 18:22:07.350: E/AndroidRuntime(4549): at android.os.Handler.dispatchMessage(Handler.java:99)
07-08 18:22:07.350: E/AndroidRuntime(4549): at android.os.Looper.loop(Looper.java:137)
07-08 18:22:07.350: E/AndroidRuntime(4549): at android.app.ActivityThread.main(ActivityThread.java:4898)
07-08 18:22:07.350: E/AndroidRuntime(4549): at java.lang.reflect.Method.invokeNative(Native Method)
07-08 18:22:07.350: E/AndroidRuntime(4549): at java.lang.reflect.Method.invoke(Method.java:511)
07-08 18:22:07.350: E/AndroidRuntime(4549): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
07-08 18:22:07.350: E/AndroidRuntime(4549): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
07-08 18:22:07.350: E/AndroidRuntime(4549): at dalvik.system.NativeStart.main(Native Method)

0 个答案:

没有答案