ndk.dir error in Android Studio

前端 未结 3 692
遇见更好的自我
遇见更好的自我 2021-01-24 01:35

I was trying to use opencv library, so I imported one of its projects in Android Studio and when I tried to run it I got this error:

Error:Execution faile

3条回答
  •  执笔经年
    2021-01-24 02:17

    OpenCV sample projects haven't support gradle officially. I think it will be easier if you start a new project and configure it to work as in examples. I have implemented a tutorial project using Android Studio + NDK + OpenCV. You may have a look. https://github.com/quanhua92/NDK_OpenCV_AndroidStudio

提交回复
热议问题