parse-community / Parse-SDK-Android

The Android SDK for Parse Platform
https://parseplatform.org/
Other
1.88k stars 735 forks source link

Could not find com.github.parse-community.Parse-SDK-Android:bolts-tasks:4.2.0 #1189

Open chriscborg opened 1 year ago

chriscborg commented 1 year ago

Issue Description

When upgrading from Parse SDK 3.0.0 to 4.2.0, I'm getting the below error even if I clean and invalidate caches. I had to downgrade.

Could not find com.github.parse-community.Parse-SDK-Android:bolts-tasks:4.2.0.
Required by:
    project :foundation
    project :foundation > com.github.parse-community.Parse-SDK-Android:parse:4.2.0

Steps to reproduce

Change version in gradle.build files to 4.2.0

Actual Outcome

Could not find com.github.parse-community.Parse-SDK-Android:bolts-tasks:4.2.0.
Required by:
    project :foundation
    project :foundation > com.github.parse-community.Parse-SDK-Android:parse:4.2.0

Expected Outcome

It is expected to compile and run.

Environment

Parse version 4.2.0

Parse Android SDK

Server

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

david-serrano commented 1 year ago

this is detailed here too: https://stackoverflow.com/questions/75711422/could-not-find-bolts-tasks-error-after-upgrading-parse-android-sdk-from-3-0-to/75715884#75715884 will cross reference the open issue - fyi, downgrading to 4.1.0 works as expected

azlekov commented 1 year ago

@mtrezza locally I can publish bolts-tasks to local successfully. Can we check somehow what happened on Jitpack?

fawaad commented 1 year ago

Having the same issue but it just started today. Possibly something with the artifact storage as @azlekov mentioned earlier. Let me know if there's anything I can provide to help with the triage.

mtrezza commented 1 year ago

@azlekov No info on jitpack, the only logs I see for 4.2.0 are from the original release date: https://jitpack.io/#parse-community/Parse-SDK-Android

Are there any more error details? Maybe the issue is due to a gradle upgrade or something?

azlekov commented 1 year ago

@azlekov No info on jitpack, the only logs I see for 4.2.0 are from the original release date:

https://jitpack.io/#parse-community/Parse-SDK-Android

Are there any more error details? Maybe the issue is due to a gradle upgrade or something?

From the logs it looks like there is '4.2.0' bolts-tasks artefact. Maybe is something else or the artefact expired somehow?

mtrezza commented 1 year ago

That artefact is part of the SDK if I'm not mistaken. It has been added as a module, so it's not an external dependency.

edgarwideman commented 1 year ago

Failed to resolve: com.github.parse-community.Parse-SDK-Android:parse:4.1.0 No matter what version I use it doesn't work.

mtrezza commented 1 year ago

Could it be something with the registry? Could you use a direct GitHub reference for the dependency?

edgarwideman commented 1 year ago

Not exactly sure what you are asking for. This is on a private project, I also started a brand new project in android studio, using the blank app template and adding the implementation "com.github.parse-community.Parse-SDK-Android:parse:4.1.0" dependency to the build.gradle file results in the previously commented error. No matter which version, 4.0.0 4.1.0, or 4.2.0. Android Studio Electric Eel, Windows 11. It appears to be the exact same error as the author of this issue hence I am adding my experience as a comment.

edgarwideman commented 1 year ago

Got er figgered FINALLY, so the official Parse documents are wildly out of date. Had to add maven { url 'https://www.jitpack.io' } to the settings.gradle file, and now it gets recognized. Parse docs show a setup with a pre Android Studio BumbleBee version.