androidparse-platformparse-android-sdk

"Could not find bolts-tasks" error after upgrading Parse Android SDK from 3.0 to 4.2


I'm trying to upgrade an existing project from Parse Android SDK from 3.0 to 4.2. I have the below dependencies in my app's build.gradle an in another module's build.gralde file called foundation:

    implementation "com.github.parse-community.Parse-SDK-Android:parse:4.2.0"
    implementation "com.github.parse-community.Parse-SDK-Android:ktx:4.2.0"
    implementation "com.github.parse-community.Parse-SDK-Android:coroutines:4.2.0"
    implementation "com.github.parse-community.Parse-SDK-Android:facebook:4.2.0"
    implementation "com.github.parse-community.Parse-SDK-Android:fcm:4.2.0"
    implementation "com.github.parse-community.ParseUI-Android:widget:0.0.6"
    implementation "com.github.parse-community.ParseUI-Android:login:0.0.6"

But now I'm getting the below error:

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

I'm guessing bolt-tasks 4.2.0 doesn't exist and somehow it's coming from the parse sdk. I tried cleaning and invalidating caches.


Solution

  • i had the same, seems like an issue with 4.2.0 - downgrading to 4.1.0 works for now