kobakei / Android-RateThisApp

Android library to show "Rate this app" dialog
Apache License 2.0
549 stars 163 forks source link

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

Open danielcshn opened 8 months ago

danielcshn commented 8 months ago

Info:

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.
Hojjat13 commented 8 months ago

master

AltangerelG commented 6 months ago

Same error with version 1.1.1

bperrenoud commented 1 month ago

I had the same error. The readme of the project says that the namespace was changed from com.kobakei to io.github.kobakei.

However, when looking for the package on jitpack (https://jitpack.io/#kobakei/Android-RateThisApp) the correct implementation seems to be:

implementation 'com.github.kobakei:Android-RateThisApp:Tag'

With Tag being the version (1.2.0, the latest, works as I am writing this message)