implementation 'com.example.library'
< /code>
или для Kotlin < /p>
implementation("com.example.library")
< /code>
Журналы ошибок выглядят несколько похоже на это: < /p>
> Could not find com.example.library
Searched in the following locations:
https://repo.maven.apache.org/maven2/com/example/library
https://repo.maven.apache.org/maven2/com/example/library
https://jcenter.bintray.com/example/library
https://jcenter.bintray.com/example/library
https://jitpack.io/com/example/library
https://jitpack.io/com/example/library
https://dl.google.com/dl/android/maven2/com/example/library
https://dl.google.com/dl/android/maven2/com/example/library
< /code>
Это часто означает, что библиотека либо недоступна на предоставленных репозиториях или репозиториях не добавляется должным образом. < /p>
Шаги воспроизведения: < /p>
[list]
[*] Создать новый проект Android с Gradle < /p>
< /li>
(приложение): < /p>
implementation 'com.arthenica:ffmpeg-kit-min:6.0-1'
< /code>
< /li>
sync < /p>
Failed to resolve: com.arthenica:ffmpeg-kit-min:6.0-1
Как начинающий Android Dev Я часто сталкивался с этой ошибкой в нескольких старых проектах. Код для включения зависимости: < /p> [code]implementation 'com.example.library' < /code> или для Kotlin < /p> implementation("com.example.library") < /code> Журналы ошибок выглядят несколько похоже на это: < /p> > Could not find com.example.library Searched in the following locations: https://repo.maven.apache.org/maven2/com/example/library https://repo.maven.apache.org/maven2/com/example/library https://jcenter.bintray.com/example/library https://jcenter.bintray.com/example/library https://jitpack.io/com/example/library https://jitpack.io/com/example/library https://dl.google.com/dl/android/maven2/com/example/library https://dl.google.com/dl/android/maven2/com/example/library < /code> Это часто означает, что библиотека либо недоступна на предоставленных репозиториях или репозиториях не добавляется должным образом. < /p> Шаги воспроизведения: < /p> [list] [*] Создать новый проект Android с Gradle < /p> < /li> (приложение): < /p> implementation 'com.arthenica:ffmpeg-kit-min:6.0-1' < /code> < /li> sync < /p> Failed to resolve: com.arthenica:ffmpeg-kit-min:6.0-1 [/code]