Я сталкиваюсь с следующей ошибкой в Android Studio: не смог проанализировать конфигурацию модуля приложения Android. Решить проблемы с сборкой Gradle и /или Resync. < /P>
Я пробовал несколько вещей, чтобы исправить это:
Понижение версии CompilesDK
Изменение компилированных и строительных конверсий из диалога структуры проекта
< /> < /pree -gradle
нет. Файл на уровне приложения.plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
< /code>
} < /p>
android {
namespace 'com.quizzing.qflagandcapitals'
compilesdk 36 < /p>
defaultConfig {
applicationId "com.quizzing.qflagandcapitals"
minSdk 23
targetSdk 35
versionCode 5
versionName "1.5"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildToolsVersion '36.0.0'
< /code>
} < /p>
dependencies {
implementation 'androidx.core:core-ktx:1.17.0'
implementation 'androidx.appcompat:appcompat:1.7.1'
implementation 'com.google.android.material:material:1.13.0'
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
implementation 'androidx.activity:activity-ktx:1.11.0'
implementation 'com.google.android.gms:play-services-maps:19.2.0'
implementation("com.google.android.gms:play-services-ads:24.6.0")
implementation "com.android.billingclient:billing-ktx:8.0.0"
implementation "androidx.fragment:fragment-ktx:1.8.9"
// OkHttp
implementation 'com.squareup.okhttp3:okhttp:5.1.0'
implementation 'com.squareup.okhttp3:logging-interceptor:5.1.0'
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:3.0.0'
implementation 'com.squareup.retrofit2:converter-gson:3.0.0'
// Glide
implementation 'com.github.bumptech.glide:glide:5.0.5'
kapt 'com.github.bumptech.glide:compiler:5.0.5'
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib:2.2.20"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2'
// Firebase dependencies
implementation 'com.google.firebase:firebase-auth-ktx:23.2.1'
implementation 'com.google.firebase:firebase-firestore-ktx:25.1.4'
implementation 'com.google.firebase:firebase-database-ktx:21.0.0'
implementation 'com.google.firebase:firebase-analytics-ktx:22.5.0'
implementation 'com.google.firebase:firebase-messaging-ktx:24.1.2'
implementation 'com.google.firebase:firebase-storage-ktx:21.2.0'
implementation 'com.google.firebase:firebase-crashlytics-ktx:19.4.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0'
< /code>
} < /p>
I’m not sure what else I can try. Could someone help me identify why Android Studio cannot parse the Gradle config and how to fix it?
Подробнее здесь: https://stackoverflow.com/questions/797 ... hanging-co
Не удалось проанализировать конфигурацию Gradle Application Module Application после изменения CompilesDK и BuildToolSve ⇐ Android
Форум для тех, кто программирует под Android
1759053740
Anonymous
Я сталкиваюсь с следующей ошибкой в Android Studio: не смог проанализировать конфигурацию модуля приложения Android. Решить проблемы с сборкой Gradle и /или Resync. < /P>
Я пробовал несколько вещей, чтобы исправить это:
Понижение версии CompilesDK
Изменение компилированных и строительных конверсий из диалога структуры проекта
< /> < /pree -gradle
нет. Файл на уровне приложения.plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
< /code>
} < /p>
android {
namespace 'com.quizzing.qflagandcapitals'
compilesdk 36 < /p>
defaultConfig {
applicationId "com.quizzing.qflagandcapitals"
minSdk 23
targetSdk 35
versionCode 5
versionName "1.5"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildToolsVersion '36.0.0'
< /code>
} < /p>
dependencies {
implementation 'androidx.core:core-ktx:1.17.0'
implementation 'androidx.appcompat:appcompat:1.7.1'
implementation 'com.google.android.material:material:1.13.0'
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
implementation 'androidx.activity:activity-ktx:1.11.0'
implementation 'com.google.android.gms:play-services-maps:19.2.0'
implementation("com.google.android.gms:play-services-ads:24.6.0")
implementation "com.android.billingclient:billing-ktx:8.0.0"
implementation "androidx.fragment:fragment-ktx:1.8.9"
// OkHttp
implementation 'com.squareup.okhttp3:okhttp:5.1.0'
implementation 'com.squareup.okhttp3:logging-interceptor:5.1.0'
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:3.0.0'
implementation 'com.squareup.retrofit2:converter-gson:3.0.0'
// Glide
implementation 'com.github.bumptech.glide:glide:5.0.5'
kapt 'com.github.bumptech.glide:compiler:5.0.5'
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib:2.2.20"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2'
// Firebase dependencies
implementation 'com.google.firebase:firebase-auth-ktx:23.2.1'
implementation 'com.google.firebase:firebase-firestore-ktx:25.1.4'
implementation 'com.google.firebase:firebase-database-ktx:21.0.0'
implementation 'com.google.firebase:firebase-analytics-ktx:22.5.0'
implementation 'com.google.firebase:firebase-messaging-ktx:24.1.2'
implementation 'com.google.firebase:firebase-storage-ktx:21.2.0'
implementation 'com.google.firebase:firebase-crashlytics-ktx:19.4.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0'
< /code>
} < /p>
I’m not sure what else I can try. Could someone help me identify why Android Studio cannot parse the Gradle config and how to fix it?
Подробнее здесь: [url]https://stackoverflow.com/questions/79777252/could-not-parse-the-android-application-modules-gradle-config-after-changing-co[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия