Using native OpenCV 3.0.0 in Android Studio 1.5 with Gradle experimental 0.4.0
I'm trying to get OpenCV 3.0.0 native to run in my Android Studio 1.5 with Gradle experimental 0.4.0. I can already use the Java components of OpenCV and the regular NDK functions. But as soon as I try to use the namespace cv in my native code I get the following exception (it is shortened. The complete exception was too long): app\src\main\jniLibs\armeabi\libopencv_core.a(matrix.cpp.o):matrix.cpp:function std::vector<unsigned char, std::allocator<unsigned char> >::resize(unsigned int, unsigned char): error: undefined reference to 'std::__throw_length_error(char const*)' app\src\main\jniLibs