出现下图所示错误是由于新建项目名中不能出现下划线,因为这样会导致生成头文件中的函数声明出错
04-04 16:23:37.271 22174-22174/com.example.jlzt.myapplication_jiao E/art: No implementation found for int[] com.example.jlzt.myapplication_jiao.OpenCVHelper.gray(int[], int, int) (tried Java_com_example_jlzt_myapplication_1jiao_OpenCVHelper_gray and Java_com_example_jlzt_myapplication_1jiao_OpenCVHelper_gray___3III)
参考文章:https://blog.csdn.net/lvxiangan/article/details/52348975