Reputation: 4550
I want to use library from openCV named
"opencv library -2.4.3"
, I install all what it needs , and now openCV tutorials work. So I need add the same openCV library to my project for use.
QUESTION
How to add opencv "library -2.4.3"
from another project to mine's folder named Android Dependencies
Thanks in advance
Upvotes: 0
Views: 13349
Reputation: 52366
The jar will go into Android Dependencies.
If you add the jar directly to your project under libs or using build path, then it goes under Android Private Libraries.
Both methods works but referencing a library project can have benefits if you want to alter the code of the library during development.
Upvotes: 0
Reputation: 119
I just did this with a project, using eclipse 4.2.1. As with the other answerer, all I had to do was create a folder called "libs/"
in my project, and it auto-updated the Android Dependencies list. Are you copying and pasting inside of eclipse?
I moved the file to that folder using the file system, outside of eclipse.
This link describes how the libs
folder gets added to Android Dependencies
:
http://tools.android.com/recent/dealingwithdependenciesinandroidprojects
Upvotes: 0
Reputation: 16825
You have to click on on the project properties (Right Click -> Properties) and add it as dependency there.
Upvotes: 0
Reputation: 3283
Create a libs folder (/libs) in your project's root folder. Copy the wanted jar to it.
It will be added to Android dependencies.
Upvotes: 1