英文:
"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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论