Я восстанавливаю существующий проект в Android Studio, и возникает следующая ошибка < /p>
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.google.android.exoplayer:exoplayer:2.11.4.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2 ... 2.11.4.pom
- https://jcenter.bintray.com/com/google/ ... 2.11.4.pom
- https://repo.maven.apache.org/maven2/co ... 2.11.4.pom
- https://jitpack.io/com/google/android/e ... 2.11.4.pom
Required by:
project :app > com.github.HamidrezaAmz:MagicalExoPlayer:1.0.16
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
Я сделал Последования, но оно не решило проблему: < /p>
добавил это в build.gradle: < /li>
< /ul>
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
< /code>
Также добавил это в build.gradle в соответствии с этим: < /li>
< /ul>
allprojects {
repositories {
maven { url 'https://google.bintray.com/exoplayer/' }
maven { url 'https://dl.bintray.com/android/android-tools' }
maven { url 'https://dl.bintray.com/firebase/gradle/' }
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
flatDir {
dirs 'libs'
}
}
}
Подробнее здесь: https://stackoverflow.com/questions/789 ... ayer2-11-4
Не удалось найти com.google.android.exoplayer: exoplayer: 2.11.4 ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Не удалось найти com.google.android.exoplayer: exoplayer-core: 2.12.1
Anonymous » » в форуме Android - 0 Ответы
- 11 Просмотры
-
Последнее сообщение Anonymous
-