我是解析服务器的新手。我刚跟着这里“http://docs.parseplatform.org/android/guide/”
我在build.gradle
dependencies {
compile 'com.parse:parse-android:1.15.7'
}
我将其初始化为MainActivity
Parse.initialize(this);
它给了我一个错误:
无法解决:com.android.support:support-annotations:25.3.1
安装存储库和同步项目, 打开文件, 在项目结构对话框中显示
我错过了什么吗?
任何帮助将不胜感激? (android studio版本:2.3.3)
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.example.jack.instagramclone2"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
compile 'com.parse:parse-android:1.15.7'
testCompile 'junit:junit:4.12'
}