在尝试下载:parse:1.24.0时,我总是会遇到这个错误。最新的图书馆
误差波纹
com.github.parse-community.Parse-SDK-Android:parse:1.24.0.错误:无法解决“:app@调试/编译
路径”的依赖关系:无法找到
发布于 2020-06-24 15:48:21
我正面临着同样的问题。在浪费了几个小时之后,我能够解决这个问题,并能够连接到AWS上的解析服务器。但是,我对platform (https://docs.parseplatform.org/android/guide/)提供的文档并不满意,这些文档建议包含这种依赖性。
在模块构建文件中包含以下依赖项之后,它对我起了作用:
implementation 'com.parse.bolts:bolts-tasks:1.4.0'
implementation "com.parse:parse-android:1.17.3"并在存储库部分的项目构建文件中进行如下操作:
maven { url "https://jitpack.io" }到目前为止,我还不知道为什么com.github.parse-community.Parse-SDK-Android:parse:1.24.0.会有问题。请注意,我能够连接到解析服务器。如果您面临连接问题,我将提供下面的修改。清单文件更改(必须添加android:name):
<应用程序android:name=".ParseApplication“
并初始化Parse应用程序:
public void onCreate() {
super.onCreate();
Parse.initialize(new Parse.Configuration.Builder(this)
.applicationId("myappID")
// if defined
.clientKey("xxxxxxxx")
.server("http://13.232.198.174/parse/")
.build()
);发布于 2020-04-23 14:45:35
com.github.parse-community.Parse-SDK-Android:parse:1.24.0.错误:无法解决“:app@调试/编译
路径”的依赖关系:无法找到
将其添加到Project Level build.gradle文件中
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}发布于 2020-04-23 14:49:02
要使用ParseSDK,必须添加以下内容(build.gradle->应用程序);
implementation "com.parse:parse-android:1.17.3"https://stackoverflow.com/questions/61389931
复制相似问题