I am trying to add module in my main app but its not showing in select section.I am using android studio 3.4.1
Android Root Directory
gradle setting
I am trying to add module in my main app but its not showing in select section.I am using android studio 3.4.1
Android Root Directory
gradle setting
I was getting the same issue with Android Studio 3.6.3. The main issue is that the module you imported is registered as an "application" and not as a "library". And it seems only libraries can be imported. Here is what I did to resolve it.
Following the android documentation here:
apply plugin: 'com.android.application'
to apply plugin: 'com.android.library'
at the top of your file.applicationId
in the defaultConfig {}
as only an Android app module can define this.implementation project(':openCVLibrary441')
in the dependencies {}
section.