`I added Appcompat to my project and my app as been failing to build with different errors that I have been trying to solve. And in doing so I added the following dependencies to my android.app/build.gradle:
`
`зависимости {
реализация 'androidx.appcompat:appcompat:1.6.1'
реализация 'com.google.android.material:material:1.13.0'
}``
but now I am having the error below:
[+1987 ms] > Task :app:checkDebugAarMetadata [ ] Resource missing. [HTTP GET: https://dl.google.com/dl/android/maven2 ... 1.13.0.pom] [ +299 ms] Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/co ... 1.13.0.pom] [ +899 ms] Resource missing. [HTTP GET:`your text` https://storage.googleapis.com/download ... 1.13.0.pom] [ +201 ms] > Task :app:checkDebugAarMetadata FAILED [ +5 ms] FAILURE: Build failed with an exception. [ +6 ms] * What went wrong:ваш текст``
[ ] Не удалось выполнить задачу ':app:checkDebugAarMetadata'.
[ ] > Не удалось разрешить все файлы для конфигурации ':app:debugRuntimeClasspath'.
[ ] > Не удалось найти com.google.android.material:material:1.13.0.
[ ] Поиск проводился в следующих местах:
[ ] - https://dl.google.com/dl/android/maven2 ... 1.13.0.pom
[ ] - https://repo .maven.apache.org/maven2/com/google/android/material/material/1.13.0/material-1.13.0.pom
[ ] - https://storage.googleapis.com/download ... 1.13.0.pom
[ +3 мс] Требуется:[ ] проект :app`
`
I have tried to run mvn install as outlined below to no avail:
`https://github.com/material-components/ ... ages/81484``
Подробнее здесь: https://stackoverflow.com/questions/791 ... android-ma
Как устранить эту ошибку во флаттер-приложении «Не удалось найти com.google.android.material:material:1.13.0»? ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение