При компиляции проекта Android Studio сообщается о следующей ошибке:
e: C:/Users/octop/.gradle/caches/modules-2/files-2.1/
org.jetbrains.kotlin/kotlin-stdlib-common/1.7.10/
bac80c520d0a9e3f3673bc2658c6ed02ef45a76a/
kotlin-stdlib-common-1.7.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module:
Module was compiled with an incompatible version of Kotlin.
The binary version of its metadata is 1.7.1, expected version is 1.5.1.
Непосредственно переведите сообщение об ошибке:
e: C:/Users/octop/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.7.10/bac80c520d0a9e3f3673bc2658c6ed02ef45a76a/kotlin-stdlib-common-1.7.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
Модуль, сообщающий об ошибке, e: C:/Users/octop/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.7.10/bac80c520d0a9e3f3673bc2658c6ed02ef45a76a/kotlin-stdlib-common-1.7.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module
модуль , то есть kotlin-stdlib-common-1.7.10.jar Зависимые библиотеки ;
После перевода : kotlin-stdlib-common-1.7.10.jar модуль выполнен с использованием несовместимого Kotlin Версиякомпилировать. Его метаданные имеют двоичную версию 1.7.1 и ожидаемую версию 1.5.1.
Из сообщения об ошибке видно, что , Проблема в том, kotlin-stdlib-common-1.7.10.jar
Зависимые библиотекиначальство ,Должен Зависимые библиотекинастроен Kotlin версия 1.7.1, Однако корневой каталог этого проекта build.gradle в скрипте сборки верхнего уровня , настроен Kotlin версия 1.5.0 ;
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.5.0"
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
Если вы знаете причину проблемы, решение будет очень простым. Есть два решения:
Непосредственно обновите версию сценария сборки build.gradle Kotlin в корневом каталоге проекта до версии 1.7.10;
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.7.10"
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
использовал kotlin-stdlib-common-1.7.10.jar Зависимые библиотеки Версия слишком высокий ,уменьшать Должен Зависимые библиотеки Версия ;
Сначала проанализируйте Зависимые Как импортируется библиотека? ,существоватьмодуль Строительство Скриптсередина, Нет возможности напрямую импортировать Зависимые библиотеки ,
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.8.0'
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
осуществлять
gradlew app:dependencies --configuration releaseRuntimeClasspath
Заказ , Запрос Зависимые Подробности о библиотеке ;
Вывод строки заказа выглядит следующим образом:
D:\002_Project\002_Android_Learn\Componentization>gradlew app:dependencies --configuration releaseRuntimeClasspath
WARNING:: Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.
This repository is deprecated and it will be shut down in the future.
See http://developer.android.com/r/tools/jcenter-end-of-service for more information.
Currently detected usages in: root project 'Componentization', project ':app', project ':base', ...
> Task :app:dependencies
------------------------------------------------------------
Project :app
------------------------------------------------------------
releaseRuntimeClasspath - Runtime classpath of compilation 'release' (target (androidJvm)).
+--- org.jetbrains.kotlin:kotlin-stdlib:1.5.0 -> 1.7.10
| +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10
| \--- org.jetbrains:annotations:13.0
+--- androidx.core:core-ktx:1.8.0
| +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| +--- androidx.core:core:1.8.0
| | +--- androidx.annotation:annotation:1.2.0 -> 1.3.0
| | +--- androidx.annotation:annotation-experimental:1.1.0
| | +--- androidx.collection:collection:1.0.0 -> 1.1.0
| | | \--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | +--- androidx.concurrent:concurrent-futures:1.0.0
| | | +--- com.google.guava:listenablefuture:1.0
| | | \--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | +--- androidx.lifecycle:lifecycle-runtime:2.3.1 -> 2.5.1
| | | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | | +--- androidx.arch.core:core-common:2.1.0
| | | | \--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | | +--- androidx.arch.core:core-runtime:2.1.0
| | | | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | | | \--- androidx.arch.core:core-common:2.1.0 (*)
| | | \--- androidx.lifecycle:lifecycle-common:2.5.1
| | | \--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | \--- androidx.versionedparcelable:versionedparcelable:1.1.1
| | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | \--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
| \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 -> 1.7.10 (*)
+--- androidx.appcompat:appcompat:1.5.1
| +--- androidx.activity:activity:1.5.1
| | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | +--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
| | +--- androidx.core:core:1.8.0 (*)
| | +--- androidx.lifecycle:lifecycle-runtime:2.5.1 (*)
| | +--- androidx.lifecycle:lifecycle-viewmodel:2.5.1
| | | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 -> 1.7.10 (*)
| | | \--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1 (c)
| | +--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1
| | | +--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| | | +--- androidx.core:core-ktx:1.2.0 -> 1.8.0 (*)
| | | +--- androidx.lifecycle:lifecycle-livedata-core:2.5.1
| | | | +--- androidx.arch.core:core-common:2.1.0 (*)
| | | | +--- androidx.arch.core:core-runtime:2.1.0 (*)
| | | | \--- androidx.lifecycle:lifecycle-common:2.5.1 (*)
| | | +--- androidx.lifecycle:lifecycle-viewmodel:2.5.1 (*)
| | | +--- androidx.savedstate:savedstate:1.2.0
| | | | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | | | +--- androidx.arch.core:core-common:2.1.0 (*)
| | | | +--- androidx.lifecycle:lifecycle-common:2.4.0 -> 2.5.1 (*)
| | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.20 -> 1.7.10 (*)
| | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 -> 1.7.10 (*)
| | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1
| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1
| | | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.1
| | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.1
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1 (c)
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1 (c)
| | | | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.1 (c)
| | | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0
| | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.0 -> 1.7.10 (*)
| | | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.0
| | | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.0 -> 1.7.10 (*)
| | | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.7.10
| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.1 (*)
| | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 (*)
| | +--- androidx.savedstate:savedstate:1.2.0 (*)
| | +--- androidx.tracing:tracing:1.0.0
| | | \--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 -> 1.7.10 (*)
| +--- androidx.annotation:annotation:1.3.0
| +--- androidx.appcompat:appcompat-resources:1.5.1
| | +--- androidx.annotation:annotation:1.2.0 -> 1.3.0
| | +--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
| | +--- androidx.core:core:1.6.0 -> 1.8.0 (*)
| | +--- androidx.vectordrawable:vectordrawable:1.1.0
| | | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | | +--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| | | \--- androidx.collection:collection:1.1.0 (*)
| | +--- androidx.vectordrawable:vectordrawable-animated:1.1.0
| | | +--- androidx.vectordrawable:vectordrawable:1.1.0 (*)
| | | +--- androidx.interpolator:interpolator:1.0.0
| | | | \--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| | | \--- androidx.collection:collection:1.1.0 (*)
| | \--- androidx.appcompat:appcompat:1.5.1 (c)
| +--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
| +--- androidx.core:core:1.8.0 (*)
| +--- androidx.core:core-ktx:1.8.0 (*)
| +--- androidx.cursoradapter:cursoradapter:1.0.0
| | \--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| +--- androidx.drawerlayout:drawerlayout:1.0.0 -> 1.1.1
| | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | +--- androidx.core:core:1.2.0 -> 1.8.0 (*)
| | \--- androidx.customview:customview:1.1.0
| | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | +--- androidx.core:core:1.3.0 -> 1.8.0 (*)
| | \--- androidx.collection:collection:1.1.0 (*)
| +--- androidx.emoji2:emoji2:1.2.0
| | +--- androidx.annotation:annotation:1.2.0 -> 1.3.0
| | +--- androidx.collection:collection:1.1.0 (*)
| | +--- androidx.core:core:1.3.0 -> 1.8.0 (*)
| | +--- androidx.lifecycle:lifecycle-process:2.4.1
| | | +--- androidx.lifecycle:lifecycle-runtime:2.4.1 -> 2.5.1 (*)
| | | +--- androidx.startup:startup-runtime:1.1.1
| | | | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | | | \--- androidx.tracing:tracing:1.0.0 (*)
| | | \--- androidx.annotation:annotation:1.2.0 -> 1.3.0
| | \--- androidx.startup:startup-runtime:1.0.0 -> 1.1.1 (*)
| +--- androidx.emoji2:emoji2-views-helper:1.2.0
| | +--- androidx.collection:collection:1.1.0 (*)
| | +--- androidx.core:core:1.3.0 -> 1.8.0 (*)
| | \--- androidx.emoji2:emoji2:1.2.0 (*)
| +--- androidx.fragment:fragment:1.3.6
| | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | +--- androidx.core:core:1.2.0 -> 1.8.0 (*)
| | +--- androidx.collection:collection:1.1.0 (*)
| | +--- androidx.viewpager:viewpager:1.0.0
| | | +--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| | | +--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| | | \--- androidx.customview:customview:1.0.0 -> 1.1.0 (*)
| | +--- androidx.loader:loader:1.0.0
| | | +--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| | | +--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| | | +--- androidx.lifecycle:lifecycle-livedata:2.0.0
| | | | +--- androidx.arch.core:core-runtime:2.0.0 -> 2.1.0 (*)
| | | | +--- androidx.lifecycle:lifecycle-livedata-core:2.0.0 -> 2.5.1 (*)
| | | | \--- androidx.arch.core:core-common:2.0.0 -> 2.1.0 (*)
| | | \--- androidx.lifecycle:lifecycle-viewmodel:2.0.0 -> 2.5.1 (*)
| | +--- androidx.activity:activity:1.2.4 -> 1.5.1 (*)
| | +--- androidx.lifecycle:lifecycle-livedata-core:2.3.1 -> 2.5.1 (*)
| | +--- androidx.lifecycle:lifecycle-viewmodel:2.3.1 -> 2.5.1 (*)
| | +--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.3.1 -> 2.5.1 (*)
| | +--- androidx.savedstate:savedstate:1.1.0 -> 1.2.0 (*)
| | \--- androidx.annotation:annotation-experimental:1.0.0 -> 1.1.0
| +--- androidx.lifecycle:lifecycle-runtime:2.5.1 (*)
| +--- androidx.lifecycle:lifecycle-viewmodel:2.5.1 (*)
| +--- androidx.resourceinspection:resourceinspection-annotation:1.0.1
| | \--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| +--- androidx.savedstate:savedstate:1.2.0 (*)
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.7.10 (*)
| \--- androidx.appcompat:appcompat-resources:1.5.1 (c)
+--- com.google.android.material:material:1.6.1
| +--- androidx.annotation:annotation:1.2.0 -> 1.3.0
| +--- androidx.appcompat:appcompat:1.1.0 -> 1.5.1 (*)
| +--- androidx.cardview:cardview:1.0.0
| | \--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| +--- androidx.coordinatorlayout:coordinatorlayout:1.1.0
| | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | +--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| | +--- androidx.customview:customview:1.0.0 -> 1.1.0 (*)
| | \--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
| +--- androidx.constraintlayout:constraintlayout:2.0.1 -> 2.1.4
| | +--- androidx.appcompat:appcompat:1.2.0 -> 1.5.1 (*)
| | +--- androidx.core:core:1.3.2 -> 1.8.0 (*)
| | \--- androidx.constraintlayout:constraintlayout-core:1.0.4
| +--- androidx.core:core:1.5.0 -> 1.8.0 (*)
| +--- androidx.drawerlayout:drawerlayout:1.1.1 (*)
| +--- androidx.dynamicanimation:dynamicanimation:1.0.0
| | +--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| | +--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
| | \--- androidx.legacy:legacy-support-core-utils:1.0.0
| | +--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| | +--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| | +--- androidx.documentfile:documentfile:1.0.0
| | | \--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| | +--- androidx.loader:loader:1.0.0 (*)
| | +--- androidx.localbroadcastmanager:localbroadcastmanager:1.0.0
| | | \--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| | \--- androidx.print:print:1.0.0
| | \--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| +--- androidx.annotation:annotation-experimental:1.0.0 -> 1.1.0
| +--- androidx.fragment:fragment:1.2.5 -> 1.3.6 (*)
| +--- androidx.lifecycle:lifecycle-runtime:2.0.0 -> 2.5.1 (*)
| +--- androidx.recyclerview:recyclerview:1.0.0 -> 1.1.0
| | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | +--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| | +--- androidx.customview:customview:1.0.0 -> 1.1.0 (*)
| | \--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
| +--- androidx.transition:transition:1.2.0
| | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | +--- androidx.core:core:1.0.1 -> 1.8.0 (*)
| | \--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
| +--- androidx.vectordrawable:vectordrawable:1.1.0 (*)
| \--- androidx.viewpager2:viewpager2:1.0.0
| +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| +--- androidx.fragment:fragment:1.1.0 -> 1.3.6 (*)
| +--- androidx.recyclerview:recyclerview:1.1.0 (*)
| +--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| \--- androidx.collection:collection:1.1.0 (*)
\--- androidx.constraintlayout:constraintlayout:2.1.4 (*)
(c) - dependency constraint
(*) - dependencies omitted (listed previously)
A web-based, searchable dependency report is available by adding the --scan option.
BUILD SUCCESSFUL in 2s
1 actionable task: 1 executed
существовать org.jetbrains.kotlin:kotlin-stdlib:1.5.0 -> 1.7.10
Зависимые библиотекисередина , иметь org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10
полагаться , необходимо уменьшить org.jetbrains.kotlin:kotlin-stdlib
изполагаться Версия , уменьшить org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10
цель версии ;
+--- org.jetbrains.kotlin:kotlin-stdlib:1.5.0 -> 1.7.10
| +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10
| \--- org.jetbrains:annotations:13.0
существовать androidx.appcompat:appcompat:1.5.1
Зависимые библиотекисередина , иметь org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.7.10
полагаться , существовать Должен Зависимые библиотекисерединаиспользовать Понятно org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0
изполагаться , Но существуют в других местах, используют org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10
полагаться , Это приводит к тому, что используется высокая версия, заменяющая низкую версию. ;
+--- androidx.appcompat:appcompat:1.5.1
| +--- androidx.activity:activity:1.5.1
| | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | +--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
| | +--- androidx.core:core:1.8.0 (*)
| | +--- androidx.lifecycle:lifecycle-runtime:2.5.1 (*)
| | +--- androidx.lifecycle:lifecycle-viewmodel:2.5.1
| | | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 -> 1.7.10 (*)
| | | \--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1 (c)
| | +--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1
| | | +--- androidx.annotation:annotation:1.0.0 -> 1.3.0
| | | +--- androidx.core:core-ktx:1.2.0 -> 1.8.0 (*)
| | | +--- androidx.lifecycle:lifecycle-livedata-core:2.5.1
| | | | +--- androidx.arch.core:core-common:2.1.0 (*)
| | | | +--- androidx.arch.core:core-runtime:2.1.0 (*)
| | | | \--- androidx.lifecycle:lifecycle-common:2.5.1 (*)
| | | +--- androidx.lifecycle:lifecycle-viewmodel:2.5.1 (*)
| | | +--- androidx.savedstate:savedstate:1.2.0
| | | | +--- androidx.annotation:annotation:1.1.0 -> 1.3.0
| | | | +--- androidx.arch.core:core-common:2.1.0 (*)
| | | | +--- androidx.lifecycle:lifecycle-common:2.4.0 -> 2.5.1 (*)
| | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.20 -> 1.7.10 (*)
| | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 -> 1.7.10 (*)
| | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1
| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1
| | | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.1
| | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.1
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1 (c)
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1 (c)
| | | | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.1 (c)
| | | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0
| | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.0 -> 1.7.10 (*)
| | | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.0
| | | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.0 -> 1.7.10 (*)
| | | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.7.10
| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.1 (*)
| | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 (*)
Вариант 2 по меньше Версия схемы имеет комплекс точек , Вам необходимо проверить версию опор поочередно. , Возможно, верхний этаж опирается на Версию выше. , Необходимо применить предыдущий слой , Предыдущий уровень также может быть предыдущим слоем. ;
можно рассматривать через 【Android Gradle Плагин】Android полагатьсяуправлять ⑥ ( полагаться Разрешение конфликтов | transitive опираются настройки доставки | exclude полагаться Настройки исключения | force Обязательное обозначение библиотеки ) Блог , использовать force Обязательное обозначение библиотеки , Независимо от того, сколько версий , Должно быть обязательно использовать org.jetbrains.kotlin:kotlin-stdlib-common:1.5.0
Версияиз Зависимые библиотеки ;
configurations.all {
resolutionStrategy {
force org.jetbrains.kotlin:kotlin-stdlib-common:1.5.0
}
}