just trying to do a simple openCV android program. Downloaded and installed OpenCV for Android following the instructions here and added the OpenCV Library 2.4.2 as a librar
The solution is to either do like in @Jason answer which is about using the OpenCV Manager. It is also explained in great detail on the official documentation here.
But like @Jason says, "Makes it so the user has to install severally packages manually before the app will work". Although this is true, OpenCV Manager has some advantages like for example:
If OpenCV is updated, the user only needs to update the manager/library. The applications which use the manager can remain the same.
Your app apk size will be a lot smaller:
Even so, if you wish to deploy your apps the traditional way, static linking, you can read the instructions here.