Opencv 3.0.0 OpenCVEngineInterface
I am trying to install opencv 3.0.0 in android studio IDE. But every time I face this problem with importing "org.opencv.engine.OpenCVEngineInterface" the IDE gives me 4 errors like:
Error: (7, 25) error: package org.opencv.engine does not exist Error: (47, 15) error: Cannot find symbol class OpenCVEngineInterface Error: (161, 51) error: package OpenCVEngineInterface does not exist Error: Execution completed for tasks ': libs: opencv: compileReleaseJava'.
I go to opencv / engine folder and there is a file named OpenCVEngineInterface.aidl
. These errors are all the same - org.opencv.engine. I searched but couldn't find anything.
source to share
This is because you did not add the org.opencv.engine package to the correct path.
In the OpenCV SDK, org.opencv.engine is helpl. You need to add org.opencv.engine.OpenCVEngineInterface.aidl to your helpl directory.
You can solve this problem as follows:
1, create a new directory in "main".
2, copy the org.opencv.engine package to that directory like this:
Then try again.
source to share