无法解决依赖关系
Can't resolve the dependency
我的所有其他依赖项都已成功解决,除了-:
编译'com.parse.bolts:bolts-android:1.2.1'
编译 'com.parse:parse-android:1.+'
我的 build.gradle 是 -:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.transenigma.iskconapp"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
//multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
useLibrary 'org.apache.http.legacy'
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.parse.bolts:bolts-android:1.2.1'
compile 'com.parse:parse-android:1.+'
compile 'joda-time:joda-time:2.9.1'
compile 'com.google.android.gms:play-services-maps:8.4.0'
compile 'com.android.support:cardview-v7:23.1.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.makeramen:roundedimageview:1.5.0'
compile 'com.readystatesoftware.systembartint:systembartint:1.0.3'
compile 'com.nineoldandroids:library:2.4.0'
}
其他库没有问题。实际上我在没有代理的情况下使用互联网制作了这个项目,现在我已经将互联网更改为代理。虽然我已经对设置进行了更改,但仍然没有解决这两个依赖项。所有其他依赖项都已成功解决,这意味着互联网工作正常。什么问题。
您可以使用buildToolsVersion "23.0.1"
用 compile 'com.parse:parse-android:1.12.0'
代替你的。
实际上 compile 'com.parse:parse-android:1.+'
不适合(旧) 您的 dependencies
并且它是 精确版本 .
我的所有其他依赖项都已成功解决,除了-:
编译'com.parse.bolts:bolts-android:1.2.1' 编译 'com.parse:parse-android:1.+'
我的 build.gradle 是 -:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.transenigma.iskconapp"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
//multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
useLibrary 'org.apache.http.legacy'
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.parse.bolts:bolts-android:1.2.1'
compile 'com.parse:parse-android:1.+'
compile 'joda-time:joda-time:2.9.1'
compile 'com.google.android.gms:play-services-maps:8.4.0'
compile 'com.android.support:cardview-v7:23.1.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.makeramen:roundedimageview:1.5.0'
compile 'com.readystatesoftware.systembartint:systembartint:1.0.3'
compile 'com.nineoldandroids:library:2.4.0'
}
其他库没有问题。实际上我在没有代理的情况下使用互联网制作了这个项目,现在我已经将互联网更改为代理。虽然我已经对设置进行了更改,但仍然没有解决这两个依赖项。所有其他依赖项都已成功解决,这意味着互联网工作正常。什么问题。
您可以使用
buildToolsVersion "23.0.1"
用
compile 'com.parse:parse-android:1.12.0'
代替你的。
实际上 compile 'com.parse:parse-android:1.+'
不适合(旧) 您的 dependencies
并且它是 精确版本 .