Specified Android native API level 'android-8' is not supported by your NDK/toolchain [closed]
Specified Android native API level 'android-8' is not supported by your NDK/toolchain. I am getting this error while trying to build JavaCV for android. It says here in comments that specifying native api level using -D options will resolve the issue. The command I have used is :
mvn clean install -Djavacpp.platform=android-arm -DANDROID_NATIVE_API_LEVEL=android-16-Djavacpp.platform.root=/Users/user/android-sdk-macosx/ndk-bundle -Djavacpp.platform.compiler=
What am a I doing wrong here?
javacv is a 3rd party effort, not maintained or supported from opencv.
if you run into any problems, you will have to ask elsewhere.
Could you at least tell me how to build opencv for Android platform, or point me to a valid link?
sure, i'll try :
http://pullrequest.opencv.org/buildbo...
https://github.com/opencv/opencv/tree... (this actually worked fo me some month ago, needs ninja tool)
Do you know how to specify native api level?
sorry, but i don't know.
I have solved the problem of how to install the Opencv library in Android Studio, you can follow the program code that I shared. https://www.ivanjul.com/cara-install-...