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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答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.