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

huangapple go评论119阅读模式
英文:

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

问题

我试图将现有项目从Parse Android SDK 3.0升级到4.2。我的应用的build.gradle文件中有以下依赖项,还有另一个名为“foundation”的模块的build.gradle文件:

    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"

但现在我遇到以下错误:

找不到com.github.parse-community.Parse-SDK-Android:bolts-tasks:4.2.0。
由以下项目需要:
    project :foundation
    project :foundation > com.github.parse-community.Parse-SDK-Android:parse:4.2.0

我猜测bolt-tasks 4.2.0 不存在,而它似乎是来自parse sdk。我尝试了清理和使缓存无效。

英文:

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.

答案1

得分: 1

我遇到了同样的问题,似乎是4.2.0的问题 - 暂时降级到4.1.0就好。

英文:

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

huangapple
  • 本文由 发表于 2023年3月12日 14:28:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/75711422.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定