2

I'm new with android programming and I want to code and compile an app based on opencv library and I want to do that from my tablet using AIDE, but I don't know how to setup opencv library in AIDE. Can anyone help me?

Madalin
  • 385
  • 1
  • 5
  • 18
  • I believe it has already been discussed somewhere here how to add libraries to your project.... – Jax May 13 '15 at 18:24
  • best jar file https://github.com/rajamalw/opencv-android-gradle/raw/master/jar/opencv-android.jar –  Sep 13 '16 at 06:44

1 Answers1

1

Go download the .jar (link to Java2). Create a libs folder in your app's directory and put the jar in it. Then go back to AIDE, open your project and navigate to the libs folder. Long press the jar. When the dialogue pops up asking if you what to do click "add library to project." Close AIDE, because for some reason it doesn't recognize the library until you restart it. Open your project again and you can now use any opencv class in your project by using the correct import statement.

Jax
  • 402
  • 7
  • 24