无法获取类型“IdeaProject”使用摇篮安装模式 [英] Could not fetch model of type 'IdeaProject' using Gradle installation
问题描述
我已经下载并安装Android的工作室所有需要的相关性,如JDK 1.7和1.6摇篮。我能够在工作室导入项目和模块相当舒适,但是当我尝试创建一个新的项目,我得到这样的错误:
I've downloaded and installed Android Studio with all the required dependencies such as JDK 1.7 and Gradle 1.6. I am able to import the projects and modules quite comfortably in Studio, but when I try to create a new project I am getting errors like this:
由于这是新出生的IDE我无法找到这么多的细节,除了的 这 和 这个 。任何帮助将大大AP preciated。
Since this is the new born IDE I couldn't find much details on this, except for this and this. Any help would be greatly appreciated.
推荐答案
在通过多时间试图解决这个问题,我达到了一个解决方案:
After to pass much time trying to resolve this, i reached a solution :
您使用Windows版本的AS?
Are you using "Windows Version" of AS ?
请按以下步骤操作:
1 - Install the last version of JDK with respective JAVA_HOME variable.
2 - Download and Install Gradle1.6 with respective GRADLE_HOME variable,
<一个href="http://www.gradle.org/docs/current/userguide/userguide_single.html#installation">http://www.gradle.org/docs/current/userguide/userguide_single.html#installation.
2 - Delete these folders:
C:\Users\youruser\.AndroidStudioPreview
C:\Users\youruser\.android
C:\Users\youruser\.gradle
3 - Reopen Android Studio
Now probably it will works
有很多的早期访问preVIEW臭虫......
There are a lot of bugs in "Early Access Preview"....
这篇关于无法获取类型“IdeaProject”使用摇篮安装模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!