Ask Your Question

Error with OpenCVLibrary 2.4.6, org.opencv.R not found

asked 2013-08-26 11:59:23 -0500

jcheney44 gravatar image

updated 2013-08-27 02:21:53 -0500


I am attempting to run the tutorial1Activity code but am unable to do so because the OpenCVLibrary cannot find org.opencv.R which doesn't seem to be included in the downloaded source code. I have all of the most recent versions of SDK, NDK, JDK, OpenCV4Android etc. am I missing something here?

Any help is appreciated thanks!!


edit retag flag offensive close merge delete



that should have been generated, when you imported the project

check a few things, more likely a problem with your setup:

  • is the Opencv Library Project in your workspace ?
  • did you add the opencv library properly to your project ?
berak gravatar imageberak ( 2013-08-26 12:45:33 -0500 )edit

Just a small remark. In the future, try using the tags without the hashtags supplied. It creates tons of doubles and makes effective searching through this forum quite hard. Thank you in advance!

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-27 02:22:24 -0500 )edit

Sorry about the hashtags it is my first time asking a question. Also reloading fixed the issue thanks!

jcheney44 gravatar imagejcheney44 ( 2013-08-27 12:25:06 -0500 )edit

Please post your solution as answer and accept your own as solution.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-27 12:39:20 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-27 04:02:11 -0500

utkarshmankad gravatar image

Please check weather other projects are running fine or all of them have the same problem. Please check weather Android is properly set up on your IDE, and you have provided a proper path to your Android SDK & OpenCv4Android SDK.

If yes, then check weather there's any old version of debug.keystore file in C:/Users/<your account="" name="">/.android (old as in check the last modified date). If there's any, delete that file and reinstall your Android SDK, that problem would be solved.

edit flag offensive delete link more

Question Tools


Asked: 2013-08-26 11:59:23 -0500

Seen: 1,128 times

Last updated: Aug 27 '13