Ребята. < /p>
Я новичок в разработке Android, и есть проблема. Библиотека ANKO. < /p>
Код ошибки < /p>
Не удалось разрешить: org.jetbrains.anko: anko: 0.10.8
Показать в диалоге структуры проекта
Потрословые модули: приложение < /p>
gradle < /p>
projects/modules.
buildscript{
ext.anko_version = '0.10.8'
}
plugins {
id 'com.android.application' version '7.3.0' apply false
id 'com.android.library' version '7.3.0' apply false
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
}
< /code>
Module Gradle < /p>
plugins {
id 'kotlin-kapt'
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
android {
namespace 'com.won.kotlinpractice'
compileSdk 32
defaultConfig {
applicationId "com.won.kotlinpractice"
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"
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'
}
}
dependencies {
implementation "org.jetbrains.anko:anko:$anko_version"
implementation 'androidx.core:core-ktx:1.7.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.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
Подробнее здесь: https://stackoverflow.com/questions/740 ... ency-in-pr
Не удалось разрешить: org.jetbrains.anko: anko: 0.10.8 <a href = "open.dependency.in.project.structure"> Показать в диал ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение