无法解决依赖关系

时间:2016-01-06 07:49:37

标签: android parse-platform 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'
    }

其他图书馆没有问题。实际上我使用没有代理的互联网制作了这个项目,现在我已经将互联网改为代理。虽然我已经对设置进行了更改,但仍然没有解决这两个依赖项。所有其他依赖项都已成功解析,这意味着Internet正常运行。问题是什么。

1 个答案:

答案 0 :(得分:3)

  1. 您可以使用buildToolsVersion "23.0.1"

  2. 使用 compile 'com.parse:parse-android:1.12.0'代替您的。

  3. 实际上compile 'com.parse:parse-android:1.+'并非适合(旧)适用于您的dependencies&这是 精确版

相关问题