小编rob*_*bin的帖子

没有缓存版本的com.android.tools.build:gradle:0.9.1可用于离线模式

我在Android Studio中构建一个新的Hello World项目时收到错误消息.

FAILURE:构建因异常而失败.

  • 出了什么问题:配置根项目时出现问题__CODE__.

    FAILURE: Build failed with an exception.
    
    * What went wrong:
    A problem occurred configuring root project 'MyApplication2'.
    > Could not resolve all dependencies for configuration ':classpath'.
       > Could not resolve com.android.tools.build:gradle:0.9.1.
         Required by:
             :MyApplication2:unspecified
          > No cached version of com.android.tools.build:gradle:0.9.1 available for offline mode.
    
    BUILD FAILED
    
    Run Code Online (Sandbox Code Playgroud)

    建筑失败

Android Studio版本:0.5.2 Gradle版本:0.9.1

我正在使用代理连接到Internet.

请任何人都可以解决这个问题.我已经在互联网上搜索了上述问题,但无法得到任何正确的解决方案.

android gradle android-studio android-gradle-plugin

69
推荐指数
6
解决办法
13万
查看次数