0

未找到 project:jpct_ae 的匹配配置。消费者被配置为查找组件的 API,以及值为“debuy”的属性“com.andriod.build.api.attributes.BuildTypeAttr”

构建输出

    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'
            }
        }
    }
4

0 回答 0