sync failed when adding opencv as a dependence for my app
Hi, I want to use opencv-4.1.1-android-sdk in my app. My android studio version is 3.3.2 and sdk api is 28. I use Windows. I copied all libs under native/libs to my jniLibs folder. Then I import new module by specify the sdk/java folder and it succeed. However, when I open module setting and add dependence, I got sync error as following:
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :opencvjavasupport. Show Details Affected Modules: app
Any help are very appreciated.
Thanks.
YL