Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7646997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:21:14+00:00 2026-05-31T10:21:14+00:00

When I call Highgui.imread command, I get Unexpected Exception on my mobile phone. I

  • 0

When I call Highgui.imread command, I get Unexpected Exception on my mobile phone.

I want to load an Image from SDCard to a MAT variable.

File imgFile = new  File("/sdcard/image1.jpg");
if(imgFile.exists())
{ 
 Mat pic1 = Highgui.imread(imgFile.getAbsolutePath()); 
}

I am using Galaxy Tab 10.1 + Android OS: 3.2 kernel ver: 2.6.36.3

The Error on Device:
“The application project1 (process prj.project) has stopped unexpectedly. Please try again.“

Thank you for your help in advance.

Regards,
Ali

LogCat:

02-06 11:08:23.620: W/dalvikvm(5853): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/opencv/highgui/Highgui;    
02-06 11:08:23.620: D/AndroidRuntime(5853): Shutting down VM    
02-06 11:08:23.620: W/dalvikvm(5853): threadid=1: thread exiting with uncaught exception (group=0x400fc760)    
02-06 11:08:23.620: E/AndroidRuntime(5853): FATAL EXCEPTION: main    
02-06 11:08:23.620: E/AndroidRuntime(5853): java.lang.ExceptionInInitializerError    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at photo.klu.PhotoKLUActivity$1.onClick(PhotoKLUActivity.java:89)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at android.view.View.performClick(View.java:3127)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at android.view.View$PerformClick.run(View.java:12025)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at android.os.Handler.handleCallback(Handler.java:587)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at android.os.Handler.dispatchMessage(Handler.java:92)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at android.os.Looper.loop(Looper.java:132)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at android.app.ActivityThread.main(ActivityThread.java:4126)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at java.lang.reflect.Method.invokeNative(Native Method)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at java.lang.reflect.Method.invoke(Method.java:491)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at dalvik.system.NativeStart.main(Native Method)    
02-06 11:08:23.620: E/AndroidRuntime(5853): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load opencv_java: findLibrary returned null    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at java.lang.Runtime.loadLibrary(Runtime.java:425)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at java.lang.System.loadLibrary(System.java:554)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     at org.opencv.highgui.Highgui.<clinit>(Highgui.java:313)    
02-06 11:08:23.620: E/AndroidRuntime(5853):     ... 12 more    
02-06 11:08:25.640: I/dalvikvm(5853): threadid=4: reacting to signal 3    
02-06 11:08:25.640: I/dalvikvm(5853): Wrote stack traces to '/data/anr/traces.txt'
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T10:21:15+00:00Added an answer on May 31, 2026 at 10:21 am

    The openCV library is not attached to your application.
    Please do the following (i assume that the openCV library is imported to your workspace).
    On Package Explorer > Right click on the application project > properties > under Library click Add > select openCV
    Be sure that on Java Build Path you don’t have anything related to openCV

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Call this from a QWidget: Parser->xmlParser(_layout, xmlPath, comingFrom, mapCount); , but get two No
Call me a 'n00b', but I am new to creating Script Controls. I want
I call my JavaScript function. Why do I sometimes get the error 'myFunction is
I call a javascript function from a textbox by using OnKeyPress=clickSearchButton() Here is my
A call to clear on a QByteArray generates the following exception: * glibc detected
I call a certain div from another page with jquery to be loaded into
I call a template like this from my view: return render_to_response('mytemplate.html', context_instance=RequestContext(request)) I'm trying
call = https://aaa@api.twilio.com/2010-04-01/Accounts/sasa/Calls.xml fields = { To : +12321434, From : req.body.from } request.post
A call from a Silverlight 2.0 control to a WebService, returned via MyWebServiceNameEventArgs is
A call of help from iOS developers out there. I am trying to recognize

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.