Android Gradle Build失败,错误为“无法解析配置':module:debugFeatureCompileClasspath'的所有任务依赖项”

时间:2019-02-07 23:00:22

标签: android android-studio android-gradle android-module

Could not determine the dependencies of task ':vision:processDebugFeatureManifest'.
Could not resolve all task dependencies for configuration ':vision:debugFeatureCompileClasspath'.
Could not resolve androidx.core:core:1.0.0.
 Required by:
     project :vision
  > Cannot find a version of 'androidx.core:core' that satisfies the version constraints: 
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.core:core:1.0.1'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.vectordrawable:vectordrawable:1.0.1' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.transition:transition:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.core:core:1.0.1'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.recyclerview:recyclerview:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.firebaseui:firebase-ui-auth:4.1.0' --> 'androidx.browser:browser:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'com.google.android.gms:play-services-vision:17.0.2' --> 'com.google.android.gms:play-services-basement:16.1.0' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.drawerlayout:drawerlayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'com.google.android.gms:play-services-vision:17.0.2' --> 'com.google.android.gms:play-services-basement:16.1.0' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.media:media:1.0.0' --> 'androidx.core:core:1.0.0'
       Constraint path 'SmHuRedesign:vision:unspecified' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugFeatureRuntimeClasspath uses version 1.0.0
       Constraint path 'SmHuRedesign:vision:unspecified' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugFeatureRuntimeClasspath uses version 1.0.0
       Constraint path 'SmHuRedesign:vision:unspecified' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugFeatureRuntimeClasspath uses version 1.0.0

 Could not resolve androidx.core:core:1.0.1.
 Required by:
     project :vision > project :coremodule > androidx.appcompat:appcompat:1.0.2
  > Cannot find a version of 'androidx.core:core' that satisfies the version constraints: 
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.core:core:1.0.1'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.vectordrawable:vectordrawable:1.0.1' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.transition:transition:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.core:core:1.0.1'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.recyclerview:recyclerview:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.firebaseui:firebase-ui-auth:4.1.0' --> 'androidx.browser:browser:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'com.google.android.gms:play-services-vision:17.0.2' --> 'com.google.android.gms:play-services-basement:16.1.0' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.drawerlayout:drawerlayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'com.google.android.gms:play-services-vision:17.0.2' --> 'com.google.android.gms:play-services-basement:16.1.0' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.media:media:1.0.0' --> 'androidx.core:core:1.0.0'
       Constraint path 'SmHuRedesign:vision:unspecified' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugFeatureRuntimeClasspath uses version 1.0.0
       Constraint path 'SmHuRedesign:vision:unspecified' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugFeatureRuntimeClasspath uses version 1.0.0
       Constraint path 'SmHuRedesign:vision:unspecified' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugFeatureRuntimeClasspath uses version 1.0.0

 Could not resolve androidx.core:core:1.0.0.
 Required by:
     project :vision > project :coremodule > com.google.android.material:material:1.0.0
     project :vision > androidx.legacy:legacy-support-core-utils:1.0.0
     project :vision > androidx.fragment:fragment:1.0.0
     project :vision > project :coremodule > androidx.appcompat:appcompat:1.0.2 > androidx.vectordrawable:vectordrawable:1.0.1
     project :vision > androidx.legacy:legacy-support-core-ui:1.0.0
     project :vision > project :coremodule > com.google.android.material:material:1.0.0 > androidx.transition:transition:1.0.0
     project :vision > project :coremodule > com.google.android.material:material:1.0.0 > androidx.recyclerview:recyclerview:1.0.0
     project :vision > project :coremodule > com.firebaseui:firebase-ui-auth:4.1.0 > androidx.browser:browser:1.0.0
     project :vision > androidx.legacy:legacy-support-v4:1.0.0
     project :vision > androidx.loader:loader:1.0.0
     project :vision > androidx.customview:customview:1.0.0
     project :vision > androidx.viewpager:viewpager:1.0.0
     project :vision > androidx.coordinatorlayout:coordinatorlayout:1.0.0
     project :vision > androidx.drawerlayout:drawerlayout:1.0.0
     project :vision > androidx.slidingpanelayout:slidingpanelayout:1.0.0
     project :vision > androidx.swiperefreshlayout:swiperefreshlayout:1.0.0
     project :vision > androidx.asynclayoutinflater:asynclayoutinflater:1.0.0
     project :vision > androidx.media:media:1.0.0
    Cannot find a version of 'androidx.core:core' that satisfies the version constraints: 
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.core:core:1.0.1'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.vectordrawable:vectordrawable:1.0.1' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.transition:transition:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.core:core:1.0.1'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.recyclerview:recyclerview:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.firebaseui:firebase-ui-auth:4.1.0' --> 'androidx.browser:browser:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'com.google.android.gms:play-services-vision:17.0.2' --> 'com.google.android.gms:play-services-basement:16.1.0' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.drawerlayout:drawerlayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'SmHuRedesign:coremodule:unspecified' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' --> 'androidx.core:core:1.0.0'
       Dependency path 'SmHuRedesign:vision:unspecified' --> 'com.google.android.gms:play-services-vision:17.0.2' --> 'com.google.android.gms:play-services-basement:16.1.0' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.media:media:1.0.0' --> 'androidx.core:core:1.0.0'
       Constraint path 'SmHuRedesign:vision:unspecified' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugFeatureRuntimeClasspath uses version 1.0.0
       Constraint path 'SmHuRedesign:vision:unspecified' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugFeatureRuntimeClasspath uses version 1.0.0
       Constraint path 'SmHuRedesign:vision:unspecified' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugFeatureRuntimeClasspath uses version 1.0.0

这是直到我开始模块化我的应用程序时才发生的错误。我的主要支持库包含在“核心”或“基本”模块中,然后还有一些特定的模块,例如“ vision”,这会给我带来错误。一些(相同?)库之间的持续冲突使我无法成功构建应用程序。我找不到一种使库接受我要编译的androidx支持库版本的方法。

0 个答案:

没有答案