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

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

Open
4 tasks done
chriscborg opened this issue Mar 13, 2023 · 11 comments
Open
4 tasks done
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@chriscborg
Copy link

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

  • SDK version: 4.2.0
  • Operating system version: macOS 13.2.1

Server

  • Parse Server version: 5.1.1
  • Operating system: Heroku
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Heroku
@parse-github-assistant
Copy link

Thanks for opening this issue!

@david-serrano
Copy link

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

@mtrezza mtrezza changed the title Could not find com.github.parse-community.Parse-SDK-Android:bolts-tasks:4.2.0 when upgrading from SDK 3.0.0 Could not find com.github.parse-community.Parse-SDK-Android:bolts-tasks:4.2.0 Mar 14, 2023
@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Mar 14, 2023
@azlekov
Copy link
Contributor

azlekov commented May 5, 2023

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

@fawaad
Copy link

fawaad commented May 5, 2023

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
Copy link
Member

mtrezza commented May 7, 2023

@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
Copy link
Contributor

azlekov commented May 7, 2023

@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
Copy link
Member

mtrezza commented May 8, 2023

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
Copy link
Contributor

edgarwideman commented May 23, 2023

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
Copy link
Member

mtrezza commented May 23, 2023

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

@edgarwideman
Copy link
Contributor

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

6 participants