0

No matching configuration of project:jpct_ae was found. The consumer was configured to find an API of a component, as well as attribute'com.andriod.build.api.attributes.BuildTypeAttr' with value 'debuy'

Build Output

    Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
        > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
           > Could not resolve project :app:libs:OpenCV.
             Required by:
                 project :app
              > No matching configuration of project :app:libs:OpenCV was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' but:
                  - None of the consumable configurations have attributes.
           > Could not resolve project :jpct_ae.
             Required by:
                 project :app
              > No matching configuration of project :jpct_ae was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' but:
                  - None of the consumable configurations have attributes.

build.gradle(:openCVLibrary343)

 apply plugin: 'com.android.library'
    
    android {
        compileSdkVersion 30
        buildToolsVersion "29.0.2"
    
        defaultConfig {
            minSdkVersion 29
            targetSdkVersion 30
        }
    
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
            }
        }
    }

0 Answers0