我面临此错误无法解析:com.github.parse社区.解析SDK安卓:解析:4.0.0



我试图在我的android工作室项目中实现Parse。我遵循了这个指南https://www.back4app.com/docs/android/parse-android-sdk直到步骤4:
implementation "com.github.parse-community.Parse-SDK-Android:parse:4.0.0"

由于这一点,当我尝试同步时,我收到了这个错误消息

解析失败:com.github.parse社区。解析SDK安卓:解析:4.0.0">

在此处输入图像描述

我刚刚在这里测试了它,我能够使它工作。

看看我的整个文件,也许你可以把它作为参考。我从这里得到的:https://github.com/templates-back4app/push-android-latest-version/blob/master/app/build.gradle

apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 32
defaultConfig {
applicationId "com.android.application"
minSdkVersion 24
targetSdkVersion 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.6.0-alpha05'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.5.0-alpha04'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0-alpha07'
implementation "com.github.parse-community.Parse-SDK-Android:parse:4.0.0"
implementation "com.github.parse-community.Parse-SDK-Android:fcm:4.0.0"
implementation "com.google.firebase:firebase-core:21.1.0"
implementation "com.google.firebase:firebase-messaging:23.0.7"
}
repositories {
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
}

最新更新