问题描述
我已经下载并安装了 Android Studio,其中包含所有必需的依赖项,例如 JDK 1.7 和 Gradle 1.6.我能够在 Studio 中轻松地导入项目和模块,但是当我尝试创建一个新项目时,我收到如下错误:
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,除了 this 和 这个.任何帮助将不胜感激.
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,
http://www.gradle.org/docs/current/userguide/userguide_single.html#安装.
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
Early Access Preview"有很多错误....
There are a lot of bugs in "Early Access Preview"....
这篇关于无法使用 Gradle 安装获取“IdeaProject"类型的模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!