Я хочу интегрировать сборщик кода страны с помощью HBB20. Я ставлю зависимость и строительство, все в порядке, но всякий раз, когда я пытаюсь запустить приложение, я получил эту ошибку:
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
my build.gradle Codes уровня приложений:
plugins {
id 'com.android.application'
}
android {
compileSdk 31
defaultConfig {
applicationId "com.teamphoenix.amarflat"
minSdk 22
targetSdk 31
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
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation "com.github.skydoves:powerspinner:1.1.9"
implementation 'com.hbb20:ccp:2.4.7'
}
Подробнее здесь: https://stackoverflow.com/questions/716 ... ientconfig
Android Studio org.gradle.api.internal.artifacts.iveservice.defaultlenientConfiguration $ artifactresolveException: ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение