Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails: com.stephentuso:welcome cannot be resolved #190

Open
GlowingScrewdriver opened this issue Dec 16, 2024 · 0 comments
Open

Build fails: com.stephentuso:welcome cannot be resolved #190

GlowingScrewdriver opened this issue Dec 16, 2024 · 0 comments

Comments

@GlowingScrewdriver
Copy link

com.stephentuso:welcome used to be hosted on jCenter. jCenter was recently sunsetted, and com.stephentuso:welcome does not seem to be available on any other Maven repositories used by the Amaze build.

The mvnrepository listing says that https://repo.spring.io/libs-milestone/ and https://repo.spring.io/plugins-release/ host com.stephentuso:welcome; however, adding these repositories to settings.gradle does not help.

My settings.gradle after I added the repositories listed on mvnrepository:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        jcenter() // Warning: this repository is going to shut down soon
        maven { url "https://jitpack.io" }
        maven { url "https://jcenter.bintray.com" }
        maven { url "https://repo.spring.io/libs-milestone" }   // added by me
        maven { url "https://repo.spring.io/plugins-release" }  // added by me
    }
}
rootProject.name = "Amaze File Utilities"
include ':app'

I tried building Amaze File Utilities as follows, from the root of the Git repository:

./gradlew assemble

Excerpts from the build log:

> Task :app:compileFdroidDebugAidl
Failed to get resource: GET. [HTTP HTTP/1.1 401 : https://repo.spring.io/libs-milestone/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom)]
Failed to get resource: GET. [HTTP HTTP/1.1 401 : https://repo.spring.io/plugins-release/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom)]
Resource missing. [HTTP GET: https://dl.google.com/dl/android/maven2/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom]
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom]
Resource missing. [HTTP GET: https://repo1.maven.org/maven2/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom]
Resource missing. [HTTP GET: https://jitpack.io/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom]
Resource missing. [HTTP GET: https://repo1.maven.org/maven2/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 401 : https://repo.spring.io/libs-milestone/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom)]
Failed to get resource: GET. [HTTP HTTP/1.1 401 : https://repo.spring.io/plugins-release/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom)]
* What went wrong:
Execution failed for task ':app:compileFdroidDebugAidl'.
> Could not resolve all files for configuration ':app:fdroidDebugCompileClasspath'.
   > Could not resolve com.stephentuso:welcome:1.4.1.
     Required by:
         project :app
      > Could not resolve com.stephentuso:welcome:1.4.1.
         > Could not get resource 'https://repo.spring.io/libs-milestone/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom'.
            > Could not GET 'https://repo.spring.io/libs-milestone/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom'. Received status code 401 from server: 
      > Could not resolve com.stephentuso:welcome:1.4.1.
         > Could not get resource 'https://repo.spring.io/plugins-release/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom'.
            > Could not GET 'https://repo.spring.io/plugins-release/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom'. Received status code 401 from server:

NOTE: I don't do a lot of Android app development, so I know very little about the SDK and build system. There could be something obvious that I'm missing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant