Tuesday, April 9, 2013

[android help] PDF DroidReader

android - PDF DroidReader - Stack Overflow



















i am trying to use DroidReader to get a view of my pdf file in my android. i importe well the app and got no error, but when i lunch it, i got this error:



02-27 21:15:25.433: E/AndroidRuntime(11355): FATAL EXCEPTION: main
02-27 21:15:25.433: E/AndroidRuntime(11355): java.lang.ExceptionInInitializerError
02-27 21:15:25.433: E/AndroidRuntime(11355): at de.hilses.droidreader.DroidReaderActivity.onCreate(DroidReaderActivity.java:108)
02-27 21:15:25.433: E/AndroidRuntime(11355): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
02-27 21:15:25.433: E/AndroidRuntime(11355): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
02-27 21:15:25.433: E/AndroidRuntime(11355): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
02-27 21:15:25.433: E/AndroidRuntime(11355): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
02-27 21:15:25.433: E/AndroidRuntime(11355): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
02-27 21:15:25.433: E/AndroidRuntime(11355): at android.os.Handler.dispatchMessage(Handler.java:99)
02-27 21:15:25.433: E/AndroidRuntime(11355): at android.os.Looper.loop(Looper.java:130)
02-27 21:15:25.433: E/AndroidRuntime(11355): at android.app.ActivityThread.main(ActivityThread.java:3683)
02-27 21:15:25.433: E/AndroidRuntime(11355): at java.lang.reflect.Method.invokeNative(Native Method)
02-27 21:15:25.433: E/AndroidRuntime(11355): at java.lang.reflect.Method.invoke(Method.java:507)
02-27 21:15:25.433: E/AndroidRuntime(11355): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
02-27 21:15:25.433: E/AndroidRuntime(11355): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
02-27 21:15:25.433: E/AndroidRuntime(11355): at dalvik.system.NativeStart.main(Native Method)
02-27 21:15:25.433: E/AndroidRuntime(11355): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load pdfrender: findLibrary returned null
02-27 21:15:25.433: E/AndroidRuntime(11355): at java.lang.Runtime.loadLibrary(Runtime.java:429)
02-27 21:15:25.433: E/AndroidRuntime(11355): at java.lang.System.loadLibrary(System.java:554)
02-27 21:15:25.433: E/AndroidRuntime(11355): at de.hilses.droidreader.PdfRender.(PdfRender.java:111)
02-27 21:15:25.433: E/AndroidRuntime(11355): ... 14 more

























See this line:



02-27 21:15:25.433: E/AndroidRuntime(11355): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load pdfrender: findLibrary returned null


You need pdfrender library in you classpath


























Application cannot find the native library it is looking for. If you have the sources for the native code you can do an ndk-build before running the app. This should fix the issue.























default






.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...