无法导入新的 Gradle 项目:找不到构建工具修订版 *.0.0

无法导入新的 Gradle 项目:找不到构建工具修订版 *.0.0

问题描述:

当我启动 Android Studio 并选择New Project..."时;并通过创建一个新项目,我收到此弹出错误:

When I boot up Android Studio and select "New Project..." and go through creating a new project, I get this popup error:

未能导入新的 Gradle 项目:未能找到 Build Tools 修订版 17.0.0

Failed to import new Gradle project: failed to find Build Tools revision 17.0.0

查看 IDE 日志以获取更多详细信息(帮助 | 显示日志)

Consult IDE log for more details (Help | Show Log)

我很想查阅 IDE 日志,但我什至没有设法进入应用程序来做任何事情.我已经多次浏览首选项,看看我是否可以为构建工具设置路径,但我找不到任何东西.我该如何解决这个问题,或者如何在不打开项目的情况下进入应用程序,这样我至少可以看到日志?

I would love to consult the IDE log, but I haven't even managed to get into the application to do much of anything. I've went through the preferences multiple times to see if I can set a path for the Build Tools, but I can't find much of anything. How do I fix this, or how do I get into the application without opening a project so I can at least see the logs?

花了几个小时后:我重新启动了Android SDK Manager,这时候我注意到我得到了Android SDKPlatform-tools(升级)和 Android SDK Build-tools(新).

After spending a few hours: I restarted the Android SDK Manager and at this time I noticed that I got Android SDK Platform-tools (upgrade) and Android SDK Build-tools (new).

安装这些之后,我终于能够完全编译我的项目了.

After installing those, I was finally able to fully compile my project.

注意:应安装最新的 ADT(版本 22).

Note: The latest ADT (Version 22) should be installed.