android studio引入OpenCV报错Plugin [id: ‘com.android.application‘, …]was not found in any of the …

​​​​​​​​​​​​​https://blog.csdn.net/qq_41104439/article/details/132479459icon-default.png?t=N7T8https://blog.csdn.net/qq_41104439/article/details/132479459        按照上面的教程引入opencv模块,但是build就报错

Plugin [id: ‘com.android.application’, version: ‘8.1.1’, apply: false] was not found in any of the following sources

        搜索无果后,发现项目目录下有两个settings.gradle
android studio引入OpenCV报错Plugin [id: ‘com.android.application‘, ...]was not found in any of the ...

        一个是用groovy,另一个是用kotlin 把里面的内容统一一下就解决了

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://www.net2asp.com/4ffc6f6de4.html