Ask Your Question
0

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

asked Aug 26 '13

jcheney44 gravatar image

updated Aug 27 '13

Hello,

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!!

Jordan

Preview: (hide)

Comments

2

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 (Aug 26 '13)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 (Aug 27 '13)edit

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

jcheney44 gravatar imagejcheney44 (Aug 27 '13)edit

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

StevenPuttemans gravatar imageStevenPuttemans (Aug 27 '13)edit

1 answer

Sort by » oldest newest most voted
1

answered Aug 27 '13

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.

Preview: (hide)

Question Tools

Stats

Asked: Aug 26 '13

Seen: 1,275 times

Last updated: Aug 27 '13