Модуль Firebase скомпилирован с несовместимой версией Kotlin версии 1.9.9999? ⇐ Android
Модуль Firebase скомпилирован с несовместимой версией Kotlin версии 1.9.9999?
firebase-auth-api_firebase-auth-api.kotlin_module: Модуль скомпилирован
с несовместимой версией Kotlin. Двоичная версия его
метаданных — 1.9.9999, ожидаемая версия — 1.7.1.
Я в тупике. Я перепробовал практически все. Эта ошибка время от времени выскакивала последние 2 года, но теперь я не могу с ней справиться. Отладочная версия компилируется нормально. Релизная версия этого не делает. Все зависимости актуальны.
Я следовал бесчисленным советам других, у которых были подобные проблемы. Я очистил кеши, удалил папки, а также устаревшие версии и зависимости Kotlin. 1.9.9999, это вообще реальный номер версии?
build.gradle (проект):
buildscript {
repositories {
google()
mavenLocal()
mavenCentral()
}
ext {
kotlin_version = "2.0.21"
}
dependencies {
classpath 'com.google.gms:google-services:4.4.2'
}
}
plugins {
id 'com.android.application' version '8.0.2' apply false
id 'com.android.library' version '8.0.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.10' apply false
id 'com.google.firebase.crashlytics' version '2.9.9' apply false
}
build.gradle (приложение):
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'com.google.gms.google-services'
id 'com.google.firebase.crashlytics'
}
android {
signingConfigs {
debug {
storeFile file('***')
storePassword '***'
keyAlias '***'
keyPassword '***'
}
release {
storeFile file('***')
storePassword '***'
keyAlias '***'
keyPassword '***'
}
}
namespace "***"
compileSdk 34
defaultConfig {
applicationId "***"
minSdk 23
targetSdk 34
versionCode 1
versionName "one"
signingConfig signingConfigs.release
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
crunchPngs true
debuggable false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
minifyEnabled false
shrinkResources false
debuggable true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
dataBinding true
viewBinding true
buildConfig true
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.2.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.activity:activity:1.9.3'
implementation 'androidx.fragment:fragment-ktx:1.8.5'
implementation(platform('org.jetbrains.kotlin:kotlin-bom:1.9.0'))
implementation platform('com.google.firebase:firebase-bom:33.5.1')
implementation 'com.google.firebase:firebase-auth'
implementation 'com.google.firebase:firebase-firestore'
implementation 'com.google.firebase:firebase-functions'
implementation 'com.google.firebase:firebase-storage'
implementation 'com.google.firebase:firebase-messaging'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.3'
implementation 'com.github.bumptech.glide:glide:4.15.1'
implementation "com.tbuonomo:dotsindicator:5.0"
}
Подробнее здесь: https://stackoverflow.com/questions/791 ... n-1-9-9999
firebase-auth-api_firebase-auth-api.kotlin_module: Модуль скомпилирован
с несовместимой версией Kotlin. Двоичная версия его
метаданных — 1.9.9999, ожидаемая версия — 1.7.1.
Я в тупике. Я перепробовал практически все. Эта ошибка время от времени выскакивала последние 2 года, но теперь я не могу с ней справиться. Отладочная версия компилируется нормально. Релизная версия этого не делает. Все зависимости актуальны.
Я следовал бесчисленным советам других, у которых были подобные проблемы. Я очистил кеши, удалил папки, а также устаревшие версии и зависимости Kotlin. 1.9.9999, это вообще реальный номер версии?
build.gradle (проект):
buildscript {
repositories {
google()
mavenLocal()
mavenCentral()
}
ext {
kotlin_version = "2.0.21"
}
dependencies {
classpath 'com.google.gms:google-services:4.4.2'
}
}
plugins {
id 'com.android.application' version '8.0.2' apply false
id 'com.android.library' version '8.0.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.10' apply false
id 'com.google.firebase.crashlytics' version '2.9.9' apply false
}
build.gradle (приложение):
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'com.google.gms.google-services'
id 'com.google.firebase.crashlytics'
}
android {
signingConfigs {
debug {
storeFile file('***')
storePassword '***'
keyAlias '***'
keyPassword '***'
}
release {
storeFile file('***')
storePassword '***'
keyAlias '***'
keyPassword '***'
}
}
namespace "***"
compileSdk 34
defaultConfig {
applicationId "***"
minSdk 23
targetSdk 34
versionCode 1
versionName "one"
signingConfig signingConfigs.release
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
crunchPngs true
debuggable false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
minifyEnabled false
shrinkResources false
debuggable true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
dataBinding true
viewBinding true
buildConfig true
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.2.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.activity:activity:1.9.3'
implementation 'androidx.fragment:fragment-ktx:1.8.5'
implementation(platform('org.jetbrains.kotlin:kotlin-bom:1.9.0'))
implementation platform('com.google.firebase:firebase-bom:33.5.1')
implementation 'com.google.firebase:firebase-auth'
implementation 'com.google.firebase:firebase-firestore'
implementation 'com.google.firebase:firebase-functions'
implementation 'com.google.firebase:firebase-storage'
implementation 'com.google.firebase:firebase-messaging'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.3'
implementation 'com.github.bumptech.glide:glide:4.15.1'
implementation "com.tbuonomo:dotsindicator:5.0"
}
Подробнее здесь: https://stackoverflow.com/questions/791 ... n-1-9-9999
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Модуль Firebase скомпилирован с несовместимой версией Kotlin версии 1.9.9999?
Anonymous » » в форуме Android - 0 Ответы
- 7 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Модуль Firebase скомпилирован с несовместимой версией Kotlin версии 1.9.9999?
Anonymous » » в форуме Android - 0 Ответы
- 8 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Модуль был скомпилирован с несовместимой версией Kotlin. Несовпадающие версии метаданных
Anonymous » » в форуме Android - 0 Ответы
- 25 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Модуль был скомпилирован с несовместимой версией Kotlin в выпуске Flutter.
Anonymous » » в форуме Android - 0 Ответы
- 75 Просмотры
-
Последнее сообщение Anonymous
-