Gradle также был обновлен до 8.10.1.
Плагины также были обновлены до 8.6.0.
Теперь во время сборки проекта не удается найти 3 зависимости:
Код: Выделить всё
'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
'com.github.anastr:rulerview:1.1.0'
'me.anwarshahriar:calligrapher:1.0'
Код: Выделить всё
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Код: Выделить всё
dependencies {
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
implementation 'com.github.anastr:rulerview:1.1.0'
implementation 'me.anwarshahriar:calligrapher:1.0'
}
- Аннулировать кеши и перезапустить
- Чистая сборка
- Увеличение памяти org.gradle.jvmargs в gradle.properties
- Загрузка файлов .jar с https://mvnrepository.com/artifact /org.apache.maven.plugins/maven-jar-plugin"
с
"https://jar-download.com/online-maven-download-tool.php"
Однако , со всеми отсутствующими библиотеками, указанными выше, я получаю ошибку загрузки. Любая другая библиотека, которая мне не нужна. - Вручную создаю недостающие библиотеки.jar-файлы из github.
Я понимаю, что репозиторий jcenter больше не поддерживается, и, возможно, именно поэтому я получаю эту ошибку.
Могу ли я что-нибудь попробовать? Известна ли это проблема?
Будем очень признательны за любую помощь или идеи.
Подробнее здесь: https://stackoverflow.com/questions/790 ... pendencies
Мобильная версия