报错opencv2:compileDebugJavaWithJavac

在Android studio中导入opencv3.4.3报错 

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':opencv:compileDebugJavaWithJavac'.
  • Compilation failed; see the compiler error output for details.

修改一下jdk版本

本来我的jdk版本是17

改成11就没有报错了。

猜你喜欢

转载自blog.csdn.net/weixin_63357306/article/details/132939845
今日推荐