pushpender3011 / apdfviewer

Automatically exported from code.google.com/p/apdfviewer
GNU General Public License v2.0
0 stars 0 forks source link

Project built succesfully, but libpoppler_jni.so is not loading properly #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
D/dalvikvm( 7318): Trying to load lib 
/data/data/com.googlecode.apdfviewer/lib/libpoppler_jni.so 0x47e88f20
I/dalvikvm( 7318): Unable to 
dlopen(/data/data/com.googlecode.apdfviewer/lib/libpoppler_jni.so): Cannot load 
library: link_image[1995]: failed to link libpoppler_jni.so
I/dalvikvm( 7318): 
W/System.err( 7318): java.lang.UnsatisfiedLinkError: Library poppler_jni not 
found
W/System.err( 7318):    at java.lang.Runtime.loadLibrary(Runtime.java:461)
W/System.err( 7318):    at java.lang.System.loadLibrary(System.java:557)
W/System.err( 7318):    at 
com.googlecode.apdfviewer.PDFDocument.<clinit>(PDFDocument.java:105)
W/System.err( 7318):    at 
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
W/System.err( 7318):    at 
com.googlecode.apdfviewer.PDFViewerActivity.onCreate(PDFViewerActivity.java:74)
W/System.err( 7318):    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
W/System.err( 7318):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
W/System.err( 7318):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
W/System.err( 7318):    at 
android.app.ActivityThread.access$2300(ActivityThread.java:125)
W/System.err( 7318):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
W/System.err( 7318):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 7318):    at android.os.Looper.loop(Looper.java:123)
W/System.err( 7318):    at 
android.app.ActivityThread.main(ActivityThread.java:4627)
W/System.err( 7318):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 7318):    at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err( 7318):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
W/System.err( 7318):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
W/System.err( 7318):    at dalvik.system.NativeStart.main(Native Method)
W/dalvikvm( 7318): No implementation found for native 
Lcom/googlecode/apdfviewer/PDFDocument;.native_init 
(Ljava/io/FileDescriptor;Ljava/lang/String;Ljava/lang/String;)I
D/AndroidRuntime( 7318): Shutting down VM
W/dalvikvm( 7318): threadid=1: thread exiting with uncaught exception 
(group=0x4001d7d0)
E/AndroidRuntime( 7318): FATAL EXCEPTION: main
E/AndroidRuntime( 7318): java.lang.UnsatisfiedLinkError: native_init
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFDocument.native_init(Native Method)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFDocument.<init>(PDFDocument.java:41)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFViewerActivity.onCreate(PDFViewerActivity.java:74)
E/AndroidRuntime( 7318):    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 7318):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7318):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 7318):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime( 7318):    at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 7318):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime( 7318):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime( 7318):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 7318): *** KLAATU --1 
E/AndroidRuntime( 7318): java.lang.UnsatisfiedLinkError: native_init
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFDocument.native_init(Native Method)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFDocument.<init>(PDFDocument.java:41)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFViewerActivity.onCreate(PDFViewerActivity.java:74)
E/AndroidRuntime( 7318):    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 7318):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7318):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 7318):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime( 7318):    at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 7318):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime( 7318):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime( 7318):    at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2504):   Force finishing activity 
com.googlecode.apdfviewer/.PDFViewerActivity
I/        ( 2504): dumpmesg > "/data/log/dumpstate_app_error.log"
I/dumpstate( 7326): begin
D/VoldCmdListener( 2378): asec list
I/dumpstate( 7326): done
W/ActivityManager( 2504): Activity pause timeout for HistoryRecord{47f2c590 
com.googlecode.apdfviewer/.PDFViewerActivity}
I/MyFiles ( 4613): ## onResume : registerReceiver
I/Myfiles ( 4613): fileDataMgr.getCurrentDirectory().lastModified() : 
1308643662000
I/Myfiles ( 4613): fileDataMgr.getCurrentDirectory() : /mnt/sdcard/download
D/MyFiles ( 4613): getSdSerial() sd state = removed
I/MyFiles ( 4613): Current External SD Serial = null
I/selectcolor( 4613): Treeview getView position=11
W/PowerManagerService( 2504): Timer 0x7->0x3|0x1
I/PowerManagerService( 2504): Ulight 7->3|0
D/PowerManagerService( 2504):  led option is always on
I/PowerManagerService( 2504): Ulight 3->7|0
D/PowerManagerService( 2504):  led option is always on
V/WindowManager( 2504): Delivering toWindow{47df2ad8 Sorry! paused=false}
V/WindowManager( 2504): Delivering toWindow{47df2ad8 Sorry! paused=false}
E/AndroidRuntime( 7318): *** KLAATU --2 
E/AndroidRuntime( 7318): java.lang.UnsatisfiedLinkError: native_init
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFDocument.native_init(Native Method)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFDocument.<init>(PDFDocument.java:41)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFViewerActivity.onCreate(PDFViewerActivity.java:74)
E/AndroidRuntime( 7318):    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 7318):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7318):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 7318):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime( 7318):    at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 7318):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime( 7318):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime( 7318):    at dalvik.system.NativeStart.main(Native Method)
W/InputManagerService( 2504): Window already focused, ignoring focus gain of: 
com.android.internal.view.IInputMethodClient$Stub$Proxy@47f5cc60
E/AndroidRuntime( 7318): *** KLAATU --4 
E/AndroidRuntime( 7318): java.lang.UnsatisfiedLinkError: native_init
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFDocument.native_init(Native Method)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFDocument.<init>(PDFDocument.java:41)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
E/AndroidRuntime( 7318):    at 
com.googlecode.apdfviewer.PDFViewerActivity.onCreate(PDFViewerActivity.java:74)
E/AndroidRuntime( 7318):    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 7318):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)

Original issue reported on code.google.com by tanwar.m...@gmail.com on 22 Jun 2011 at 8:47

Attachments:

GoogleCodeExporter commented 8 years ago
this issue has been solved...
Thanks

Original comment by tanwar.m...@gmail.com on 24 Jun 2011 at 11:36

GoogleCodeExporter commented 8 years ago
Hi,

Could you please tell me how it resolved? i have the same problem, i can build 
the project but can not find "Library poppler_jni".

Thanks

Original comment by sonmez...@gmail.com on 30 Jun 2011 at 12:43

GoogleCodeExporter commented 8 years ago
Hi,
Initially, I was building the apdfviewer by Placing it inside develpoment 
folder and running
$ mm
command to build. It used to built succesfully but lib<poppler>.so was not 
generated properly which results in linking error.
I realized i need to build whole android project by placing apdfviewer inside 
packages/apps [after reading other issues of this project].
It does built succesfully and i tested some new features using poppler which 
works fine.
If you still have issue, we can discuss.

Thanks & Regards,
Mohit

Original comment by tanwar.m...@gmail.com on 30 Jun 2011 at 5:08

GoogleCodeExporter commented 8 years ago
Hi,
Initially, I was building the apdfviewer by Placing it inside develpoment 
folder and running
$ mm
command to build. It used to built succesfully but lib<poppler>.so was not 
generated properly which results in linking error.
I realized i need to build whole android project by placing apdfviewer inside 
packages/apps [after reading other issues of this project].
It does built succesfully and i tested some new features using poppler which 
works fine.
If you still have issue, we can discuss.

Thanks & Regards,
Mohit

I dont understand, do you can give more explanation please?

Original comment by haythe...@gmail.com on 28 Feb 2012 at 2:47

GoogleCodeExporter commented 8 years ago
what kind of explaination? I can provide help.

Original comment by tanwar.m...@gmail.com on 29 Feb 2012 at 3:34