Opencv library on AIDE

天大地大妈咪最大 提交于 2019-12-11 03:25:48

问题


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.



来源:https://stackoverflow.com/questions/27942308/opencv-library-on-aide

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!