Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to add existing .so file in eclipse to android project?
    primarykey
    data
    text
    <p>As title says : i want to add existing libocr.so to my android project. I have just created /libs/armeabi/libocr.so in project root and i want to add it as library.</p> <p>thanks</p> <p>dmytrodanylyk : i have tried your solution but when i tried to perform System.loadLibrary("ocr");</p> <p>exception occured : </p> <pre> 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): FATAL EXCEPTION: main 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): java.lang.ExceptionInInitializerError 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at net.gummo.OCRTestActivity.onCreate(OCRTestActivity.java:20) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1069) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2751) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2803) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at android.app.ActivityThread.access$2300(ActivityThread.java:135) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2136) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at android.os.Handler.dispatchMessage(Handler.java:99) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at android.os.Looper.loop(Looper.java:144) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at android.app.ActivityThread.main(ActivityThread.java:4937) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at java.lang.reflect.Method.invokeNative(Native Method) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at java.lang.reflect.Method.invoke(Method.java:521) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at dalvik.system.NativeStart.main(Native Method) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): Caused by: java.lang.UnsatisfiedLinkError: Library ocr not found 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at java.lang.Runtime.loadLibrary(Runtime.java:461) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at java.lang.System.loadLibrary(System.java:557) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): at net.gummo.OCR.(OCR.java:1067) 02-21 16:50:52.799: ERROR/AndroidRuntime(15073): ... 14 more </pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload