Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Received status code 401 from server: Unauthorized | API level 34 / Android 14/15 devices! #119

@danielcshn

Description

@danielcshn

Info:

  • Android Studio Hedgehog | 2023.1.1 Patch 2
  • Build #AI-231.9392.1.2311.11330709, built on January 18, 2024
  • Runtime version: 17.0.7+0-b2043.56-10550314 amd64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • Gradle Version: 8.2.2
  • Gradle JDK: jbr-17 (JetBrains Runtime version 17.0.7)
  • Windows 11 22H2 (version 10.0.22621.3155)

Code:
build.gradle:

dependencies {
    (...)
    implementation 'io.github.kobakei:ratethisapp:1.0'
}

settings.gradle:

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" }
    }
}
rootProject.name = "app-name"
include ':app'

Error:

Could not GET 'https://jitpack.io/io/github/kobakei/ratethisapp/1.0/ratethisapp-1.0.pom'. 
Received status code 401 from server: Unauthorized

It was tried with the dependency:

        maven { url 'https://maven.aliyun.com/repository/jcenter' }

Error:

Unresolved dependencies

Could not resolve io.github.kobakei:ratethisapp:1.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions