Некоторые библиотеки не работают.
Android-Image-Slider и некоторые другие библиотеки не реализуются во время сборки. Я обновил спецификации и версии, поэтому с ними и кодом проблем нет.
Это фрагмент
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
maven { url "https://jitpack.io" }
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
maven { url "https://jitpack.io" }
maven { url 'https://jitpack.io' }
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
Вот что я получаю во время сборки.
Не удалось ПОЛУЧИТЬ https://jitpack.io/com/github/smarteist ... slider-1.4. 0.пом'. Получен код статуса 401 от сервера: Не авторизовано.
Если мне нужно загрузить что-то еще, спрашивайте.
Это полный вывод сборки, включая все ошибки
Это полный вывод сборки, включая все ошибки
р>
9: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not resolve com.github.smarteist:autoimageslider:1.4.0.
Required by:
project :app
> Could not resolve com.github.smarteist:autoimageslider:1.4.0.
> Could not get resource 'https://jitpack.io/com/github/smarteist ... -1.4.0.pom'.
> Could not GET 'https://jitpack.io/com/github/smarteist ... -1.4.0.pom'. Received status code 401 from server: Unauthorized
> Could not find com.google.android.exoplayer:exoplayer:r1.5.6.
Required by:
project :app
> Could not find com.google.android.exoplayer:exoplayer-core:2.7.3.
Required by:
project :app
> Could not find com.google.android.exoplayer:exoplayer-dash:2.7.3.
Required by:
project :app
> Could not find com.google.android.exoplayer:exoplayer-hls:2.7.3.
Required by:
project :app
> Could not find com.google.android.exoplayer:exoplayer-smoothstreaming:2.7.3.
Required by:
project :app
> Could not find com.google.android.exoplayer:exoplayer-ui:2.7.3.
Required by:
project :app
Подробнее здесь: https://stackoverflow.com/questions/790 ... oid-studio
Проблема с библиотекой в студии Android ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение