I have successfully run 'build-native.sh' and compiled the project with ndk but
while running this project on Android device, I'm getting following run-time
exception:-
-------------------------------------------------------------
01-28 16:57:02.219: W/dalvikvm(13670): VFY: rejected
Lcx/pdf/android/pdfview/Annotation;.saveAnnotToFile
(Ljava/io/File;Ljava/io/File;)Z
01-28 16:57:02.219: W/dalvikvm(13670): Verifier rejected class
Lcx/pdf/android/pdfview/Annotation;
01-28 16:57:02.219: D/AndroidRuntime(13670): Shutting down VM
01-28 16:57:02.219: W/dalvikvm(13670): threadid=1: thread exiting with uncaught
exception (group=0x40c22a68)
01-28 16:57:02.229: E/AndroidRuntime(13670): FATAL EXCEPTION: main
01-28 16:57:02.229: E/AndroidRuntime(13670): java.lang.VerifyError:
cx/pdf/android/pdfview/Annotation
01-28 16:57:02.229: E/AndroidRuntime(13670): at
cx.pdf.android.pdfview.OpenFileActivity.startPDF(OpenFileActivity.java:404)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
cx.pdf.android.pdfview.OpenFileActivity.onCreate(OpenFileActivity.java:186)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
android.app.Activity.performCreate(Activity.java:4470)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1053)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1934)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
android.app.ActivityThread.access$600(ActivityThread.java:128)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
android.os.Handler.dispatchMessage(Handler.java:99)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
android.os.Looper.loop(Looper.java:137)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
android.app.ActivityThread.main(ActivityThread.java:4517)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
java.lang.reflect.Method.invokeNative(Native Method)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
java.lang.reflect.Method.invoke(Method.java:511)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
01-28 16:57:02.229: E/AndroidRuntime(13670): at
dalvik.system.NativeStart.main(Native Method)
----------------------------------------------------------
Please help me out.
Original issue reported on code.google.com by ravi.sha...@ongraph.com on 28 Jan 2014 at 11:35
Original issue reported on code.google.com by
ravi.sha...@ongraph.com
on 28 Jan 2014 at 11:35