Я пытаюсь использовать старый проект от githhub https://github.com/gcx-hci/thirtyinch, он имеет ниже оператора readme:
GitHub Packages
repositories {
maven {
url = uri("https://maven.pkg.github.com/GCX-HCI/ThirtyInch")
}
}
dependencies {
implementation "net.grandcentrix.thirtyinch:thirtyinch:$thirtyinchVersion"
implementation "net.grandcentrix.thirtyinch:thirtyinch-rx2:$thirtyinchVersion"
implementation "net.grandcentrix.thirtyinch:thirtyinch-logginginterceptor:$thirtyinchVersion"
implementation "net.grandcentrix.thirtyinch:thirtyinch-kotlin:$thirtyinchVersion"
implementation "net.grandcentrix.thirtyinch:thirtyinch-kotlin-coroutines:$thirtyinchVersion"
// Legacy dependencies
implementation "net.grandcentrix.thirtyinch:thirtyinch-rx:$thirtyinchVersion"
}
< /code>
Но когда я делаю это в Android Studio, я получил ошибку при его построении: < /p>
Could not GET 'https://maven.pkg.github.com/GCX-HCI/Th ... -1.0.1.pom'. Received status code 401 from server: Unauthorized
< /code>
Затем я пытаюсь открыть ссылку POM, как указано в сообщении об ошибке, он запрашивает имя пользователя и пароль. Где я должен знать имя пользователя и пароль? Как настроить его в Android Studio?
Подробнее здесь: https://stackoverflow.com/questions/794 ... b-not-work