【发布时间】:2015-10-10 05:54:27
【问题描述】:
Error:(39, 13) Failed to resolve: com.parse.bolts:bolts-android:1.+
这是我的 build.gradle
dependencies {
compile files('libs/aspose-cells-8.3.1.jar')
compile files('libs/bcprov-jdk15-146.jar')
compile files('libs/nineoldandroids-library-2.4.0.jar')
compile files('libs/renderscript-v8.jar')
compile files('libs/Parse-1.10.0.jar')
compile 'com.android.support:support-v4:23.0.1'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.google.android.gms:play-services:8.1.0'
compile 'com.android.support:multidex:1.0.0'
compile 'com.parse.bolts:bolts-android:1.+'
compile 'com.google.android.gms:play-services-ads:8.1.0'
compile 'com.google.android.gms:play-services-identity:8.1.0'
compile 'com.google.android.gms:play-services-gcm:8.1.0'
}
Project Structure - Dependencies
我需要你的帮助
【问题讨论】:
-
试试这个
compile 'com.parse.bolts:bolts-android:1.2.1' -
无法解析 com.parse.bolts:bolts-android:1.2.1
-
它应该可以工作(确保你有活跃的互联网连接并且没有防火墙阻止android studio)或者你也可以像解析一样直接添加bolts JAR。看到这个:github.com/BoltsFramework/Bolts-Android
-
同时检查您的
gradle.properties是否包含任何代理。还要检查 android studio 全局代理设置是否阻止了 android studio。 -
你是否在 gradle 中使用离线模式?
标签: android android-studio parse-platform gradle build.gradle