前提
Android Studio Giraffe
创建的窗口为 C++ Native
导入 opencv 4.7.0 的时候发现 Module 部分没有 app,无法在 app 的 dependencies 部分添加我的 openCVLibrary470
解决办法
很奇怪,但是很好解决。
在 settings.gradle 中,可以看到只有一行代码
include ':openCVLibrary470'
再加上 app 的代码就解决了!
include ':app'
Module 就出现了 app 部分