2

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 !

Harrish Android
  • 262
  • 1
  • 3
  • 11
  • pls can you explain it in briefly !! – Harrish Android Oct 21 '15 at 10:13
  • Possible duplicate of *[How can I add .so files to an android library project using gradle 0.7+](http://stackoverflow.com/questions/21255125/how-can-i-add-so-files-to-an-android-library-project-using-gradle-0-7)*. If you use *experimental* plugin, look at this ***[comment](http://stackoverflow.com/questions/21255125/how-can-i-add-so-files-to-an-android-library-project-using-gradle-0-7#comment51680311_22072984)*** by user [tochkov](http://stackoverflow.com/users/4621448/tochkov). – Alex Cohn Oct 21 '15 at 11:42

1 Answers1

1

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

Below is project structure in android studio

enter image description here

KOTIOS
  • 11,177
  • 3
  • 39
  • 66