2

我一直在按照步骤将我的多模块应用程序迁移到这里提到的新动态功能模块,因为前者已被弃用。

我遵循了所有步骤并对其进行了审查。但是我仍然收到以下我无法理解的错误。

所有错误都与 androidx 库有关。

ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:{strictly 2.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-common:{strictly 2.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.annotation:annotation:{strictly 1.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.arch.core:core-common:{strictly 2.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.collection:collection:{strictly 1.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.collection:collection:1.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.annotation:annotation:1.1.0-beta01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.annotation:annotation:1.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.1.0-alpha04.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.arch.core:core-common:2.1.0-alpha01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-common:2.1.0-alpha04.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.annotation:annotation:1.1.0-alpha02.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.collection:collection:1.1.0-beta01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.annotation:annotation:1.0.0-rc01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.arch.core:core-common:2.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-common:2.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:{strictly 2.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-common:{strictly 2.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.annotation:annotation:{strictly 1.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.arch.core:core-common:{strictly 2.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.collection:collection:{strictly 1.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.collection:collection:1.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.annotation:annotation:1.1.0-beta01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.annotation:annotation:1.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.1.0-alpha04.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.arch.core:core-common:2.1.0-alpha01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-common:2.1.0-alpha04.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.annotation:annotation:1.1.0-alpha02.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.collection:collection:1.1.0-beta01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.annotation:annotation:1.0.0-rc01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.arch.core:core-common:2.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-common:2.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:{strictly 2.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-common:{strictly 2.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.annotation:annotation:{strictly 1.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.arch.core:core-common:{strictly 2.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.collection:collection:{strictly 1.0.0}.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.collection:collection:1.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.annotation:annotation:1.1.0-beta01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.annotation:annotation:1.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-runtime:2.1.0-alpha04.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.arch.core:core-common:2.1.0-alpha01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-common:2.1.0-alpha04.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.annotation:annotation:1.1.0-alpha02.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.collection:collection:1.1.0-beta01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.annotation:annotation:1.0.0-rc01.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.arch.core:core-common:2.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':installed_feature@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-common:2.0.0.
Show Details
Affected Modules: installed_feature


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata:{strictly 2.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.arch.core:core-runtime:{strictly 2.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata-core:{strictly 2.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.appcompat:appcompat:{strictly 1.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable:{strictly 1.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable-animated:{strictly 1.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:28.0.0.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.1.0-alpha04.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.0.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.arch.core:core-runtime:2.1.0-alpha01.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata:2.1.0-alpha04.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable:1.1.0-alpha01.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable-animated:1.1.0-alpha01.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata-core:2.1.0-alpha04.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debug/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata:2.0.0.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata:{strictly 2.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.arch.core:core-runtime:{strictly 2.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata-core:{strictly 2.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:{strictly 1.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable:{strictly 1.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable-animated:{strictly 1.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve com.android.support:appcompat-v7:28.0.0.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.1.0-alpha04.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.0.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.arch.core:core-runtime:2.1.0-alpha01.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata:2.1.0-alpha04.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable:1.1.0-alpha01.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable-animated:1.1.0-alpha01.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata-core:2.1.0-alpha04.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugAndroidTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata:2.0.0.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata:{strictly 2.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.arch.core:core-runtime:{strictly 2.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata-core:{strictly 2.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:{strictly 1.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable:{strictly 1.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable-animated:{strictly 1.0.0}.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve com.android.support:appcompat-v7:28.0.0.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.1.0-alpha04.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.0.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.arch.core:core-runtime:2.1.0-alpha01.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata:2.1.0-alpha04.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable:1.1.0-alpha01.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable-animated:1.1.0-alpha01.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata-core:2.1.0-alpha04.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':forms@debugUnitTest/compileClasspath': Could not resolve androidx.lifecycle:lifecycle-livedata:2.0.0.
Show Details
Affected Modules: forms


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.fragment:fragment:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.core:core:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.collection:collection:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.versionedparcelable:versionedparcelable:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.fragment:fragment:1.0.0.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.core:core:1.1.0-alpha05.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.fragment:fragment:1.1.0-alpha06.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.collection:collection:1.0.0.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.core:core:1.0.0.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.versionedparcelable:versionedparcelable:1.1.0-alpha02.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.collection:collection:1.1.0-beta01.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.core:core:1.0.1.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debug/compileClasspath': Could not resolve androidx.core:core:1.1.0-alpha02.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.fragment:fragment:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.core:core:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.collection:collection:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.versionedparcelable:versionedparcelable:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.fragment:fragment:1.0.0.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.core:core:1.1.0-alpha05.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.fragment:fragment:1.1.0-alpha06.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.collection:collection:1.0.0.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.core:core:1.0.0.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.versionedparcelable:versionedparcelable:1.1.0-alpha02.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.collection:collection:1.1.0-beta01.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.core:core:1.0.1.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugAndroidTest/compileClasspath': Could not resolve androidx.core:core:1.1.0-alpha02.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.fragment:fragment:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.core:core:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.collection:collection:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.versionedparcelable:versionedparcelable:{strictly 1.0.0}.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.fragment:fragment:1.0.0.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.core:core:1.1.0-alpha05.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.fragment:fragment:1.1.0-alpha06.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.collection:collection:1.0.0.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.core:core:1.0.0.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.versionedparcelable:versionedparcelable:1.1.0-alpha02.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.collection:collection:1.1.0-beta01.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.core:core:1.0.1.
Show Details
Affected Modules: login


ERROR: Unable to resolve dependency for ':login@debugUnitTest/compileClasspath': Could not resolve androidx.core:core:1.1.0-alpha02.
Show Details
Affected Modules: login


WARNING: The option setting 'android.enableExperimentalFeatureDatabinding=true' is experimental and unsupported.
The current default is 'false'.
Affected Modules: base, forms, installed_feature, login

4

2 回答 2

0

我遇到过同样的问题。我在我的动态模块中使用了这些依赖项,但我没有在它们的 build.gradle 文件中定义它们。

现在,为了避免向每个 build.gradle 添加相同的依赖项,您可以使用基本模块的 build.gradle 并写入 api androidx.lifecycle...,而不是implementation androidx.lifecycle...这样动态模块也可以使用依赖项。

希望这可以帮助!

于 2019-08-22T13:01:54.347 回答
0

我遇到了类似的问题无法解决 org.jetbrains:annotations:{strictly 13.0}并且我能够解决它。

这意味着,您可以尝试一下:

android {
    ...

    configurations.all {
        resolutionStrategy {
            // Please removed it, as soon as the project compiles without it
            force 'androidx.lifecycle:lifecycle-runtime:2.0.0' // add more such items, if needed
        }
    }
}

顺便说一句,当你分享一个有错误的github项目时,解决它会容易得多

于 2019-08-15T16:07:36.163 回答