【问题标题】:Android Studio - can't start work with projectAndroid Studio - 无法开始使用项目
【发布时间】:2015-12-02 08:56:21
【问题描述】:

我在 Android Studio 中启动项目时遇到一个错误。

当我尝试Install Repository and sync project 时,我得到了这个:

我有正常的互联网连接。

【问题讨论】:

  • 发布你的 build.gradle
  • 你编译了compile 'com.google.android.gms:play-services-maps:6.5.87' 吗? .然后清理-重建-同步您的项目

标签: android android-studio gradle android-support-library


【解决方案1】:

起初Update Your Android SDK Tools (Support Repository )

然后将其添加到您的 build.gradle 部分

compile 'com.google.android.gms:play-services-maps:6.5.87'

【讨论】:

    【解决方案2】:

    如果您使用的是 Linux den,请在管理员模式下运行 android studio,然后下载。通过命令

    cd path of studio/bin
    sudo ./studio.sh
    

    或者您可以使用安装在您工作室中的以下版本

    【讨论】:

      猜你喜欢
      • 2015-09-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-04-04
      • 1970-01-01
      • 2019-06-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多