How to add JNI Libraries in android studio project?

六月ゝ 毕业季﹏ 提交于 2019-12-14 03:59:40

问题


I was fetched some sample code to create WebCam android application. When i import the project, android studio's gradle building got error and i can't able to run the application . Guide me the steps to add JNI Library to work in my android studio application.

I get the coding from this link

Thanks in advance !


回答1:


Jni Files are suppose to be placed at jni folder in android studio.

Below is project structure in android studio



来源:https://stackoverflow.com/questions/33256566/how-to-add-jni-libraries-in-android-studio-project

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