我在Windows上的Android Studio中編寫。而且我在本地C++ code.When調用該函數使用OpenCV的,我得到這個錯誤的logcat:Android Studio OpenCV NDK:未指定錯誤,該功能未實現
"OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvShowImage, file /Volumes/Linux/builds/master_pack-android/opencv/modules/highgui/src/window.cpp, line 545".
我發現不同的指令如何做到這一點的Linux,但沒有任何的Windows。誰知道我該如何解決這個問題?
我在Android Studio 1.5.1中編寫。 NDK不再使用mk文件。 –
@imported_lis他們這樣做,您需要在gradle.properties中使用折舊的NDK。我在4天前完成了我的工作! =) – Meaniegy