Uploading Android library to Github Packages returns 404

Hi. Im new to Github Packages and to this community.
I was trying to upload my android library from a private repo which belongs to my company’s Github account.
I am also following this tutorial:

Error I got:

Execution failed for task ':library:publishBarPublicationToGitHubPackagesRepository'.
> Failed to publish publication 'bar' to repository 'GitHubPackages'

> Could not PUT 'https://maven.pkg.github.com/ORG/REPO_PATH.git/AA/BB/CC/ARTIFACT_ID/0.0.1/LIB.aar'. Received status code 404 from server: Not Found

where groupId is “AA.BB.CC”

Is there any other step to do in Github?

Never mind, I have solved it. Just need to remove the .git part


Thank you for circling back with your solution, @iadcialim! :slight_smile:

1 Like