将 Parse Android SDK 从 3.0 升级到 4.2 后出现“找不到螺栓任务”错误

问题描述 投票:0回答:1

我正在尝试将现有项目从 Parse Android SDK 从 3.0 升级到 4.2。我在我的应用程序的 build.gradle 和另一个模块的 build.gralde 文件中有以下依赖项

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"

但现在我收到以下错误:

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

我猜 bolt-tasks 4.2.0 不存在,不知何故它来自 parse sdk。我尝试清理和使缓存失效。

android parse-platform parse-android-sdk
1个回答
0
投票

我有同样的问题,似乎是 4.2.0 的问题 - 现在降级到 4.1.0 可以工作

© www.soinside.com 2019 - 2024. All rights reserved.