错误
E No implementation found for long org.opencv.core.Mat.n_Mat() (tried Java_org_opencv_core_Mat_n_1Mat and Java_org_opencv_core_Mat_n_1Mat__)
原因是 BaseLoaderCallback 回调些在application 中 忘记配置到xml
可以理解为 未初始化 openCV
if (!OpenCVLoader.initDebug()) {
} else {
mLoaderCallback.onManagerConnected(LoaderCallbackInterface.SUCCESS)
}
private val mLoaderCallback: BaseLoaderCallback = object : BaseLoaderCallback(this) {
override fun onManagerConnected(status: Int) {
when (status) {
SUCCESS -> {
}
else -> {
super.onManagerConnected(status)
}
}
}
// open(AgentManagementActivity::class.java)
}