配置项目或摇篮:解决依赖于摇篮当创建新项目的Andr​​oid工作室坚持':类路径:“摇篮、路径、新项目、工作室

2023-09-04 05:14:10 作者:我愿捐出班主任保卫国家

使用新项目向导创建一个新的Andr​​oid应用程序,该IDE卡之前,我甚至可以看到code文件。在尝试建立多种类型的项目,它告诉我,这是建设和IDE只显示正在加载中告诉之一:

Using the new project wizard to create a new Android application, The IDE gets stuck before I can even see the Code files. After trying to create many types of projects, It tells me that it is building and the IDE only shows a Loading box that says either:

Gradle: Configure Project 

Gradle: Resolve Dependencies ':classpath:'

我出去吃午饭,当我回来的时候,我看到:

I went out to lunch and when I came back I saw:

错误:无法HEAD'http://jcenter.bintray.com/com/android/tools/build/builder-model/0.12.1/builder-model-0.12.1.jar'.接收到的状态code 500从服务器:内部服务器错误 启用摇篮离线模式和同步工程

Error:Could not HEAD 'http://jcenter.bintray.com/com/android/tools/build/builder-model/0.12.1/builder-model-0.12.1.jar'. Received status code 500 from server: Internal Server Error Enable Gradle 'offline mode' and sync project

推荐答案

Bintray昨天经历了短暂的超时由于改变在达拉斯群集节点之一。 它看起来像你正巧撞上,准确的节点在那个确切时间。

Bintray has experienced momentary timeouts yesterday due to a change to one of the cluster nodes in Dallas. It looks like you've happened to hit that exact node at that exact time.

这个问题已经被整理出来后几分钟,所以没有真正需要在你的身边改变什么。

The issue has been sorted out after a couple of minutes, so there is no real need to change anything on your side.

其实,保持 jcenter()在你的脚本是preferable因为它是一个超集Maven的中央。

Actually, keeping jcenter() in your script is preferable since it's a super-set of Maven Central.

 
精彩推荐
图片推荐