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

Bug: JitPack dependency resolution error for debug-db #1115

Open
Tarek-Bohdima opened this issue Oct 6, 2024 · 0 comments · Fixed by #1112
Open

Bug: JitPack dependency resolution error for debug-db #1115

Tarek-Bohdima opened this issue Oct 6, 2024 · 0 comments · Fixed by #1112
Milestone

Comments

@Tarek-Bohdima
Copy link
Member

Bug: JitPack dependency resolution error for debug-db

Description:

The CI workflow is failing to build the project due to a dependency resolution error for the debug-db library. The build logs show a 401 Unauthorized error when trying to download the dependency from JitPack.

Steps to reproduce:

  1. Trigger the pull-request.yaml workflow.
  2. Observe the build logs.

Expected behavior:

The debug-db dependency should be resolved successfully.

Actual behavior:

The build fails with the following error:

Could not resolve com.amitshekhar.android:debug-db:1.0.6.
Required by:
project :app

Could not resolve com.amitshekhar.android:debug-db:1.0.6.
> Could not get resource 'https://jitpack.io/com/amitshekhar/android/debug-db/1.0.6/debug-db-1.0.6.pom'.
> Could not GET 'https://jitpack.io/com/amitshekhar/android/debug-db/1.0.6/debug-db-1.0.6.pom'. Received status code 401 from server: Unauthorized

Solution:

Updating the dependency to com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:v1.0.6 resolves the issue.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. Techno F?-)]
  • OS: [e.g. Android Version: ]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@Amritah9 Amritah9 added this to the 2.2 milestone Oct 7, 2024
@Tarek-Bohdima Tarek-Bohdima moved this from Ready for Review to Ready for Test in Android Treetracker Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for Test
2 participants