Android Studio - 无法解决依赖关系

Android Studio - Can't Resolve Dependencies

我已经将我的 android 工作室更新到 v1.1.0,从那以后我遇到了问题。

当我尝试导入例如这个库时:compile 'com.nispok:snackbar:2.10.2' 我发现这个错误:

Error:(28, 13) Failed to resolve: com.nispok:snackbar:2.10.2

我注意到我无法导入最近上传到 jcenter 的每个自定义库。

例如我可以编译这个库:

compile 'com.github.traex.rippleeffect:library:1.2.3'

因为最近没有更新。但我不能使用这个库:

compile 'com.github.chenupt.android:springindicator:1.0.1@aar'

因为最近更新了。谁能帮帮我吗?

我找到问题了。当我更新 Android Studio 时,IDE 会自动检查离线模式,这就是我无法导入新版本库的原因:)