无法导入新摇篮工程:未能找到构建工具修改* .0.0摇篮、工具、工程、未能找到

2023-09-12 01:16:53 作者:猫有九命唯有一心

当我启动Android的工作室,然后选择新建项目...,并通过创建一个新的项目,我得到这个弹出错误:

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

无法导入新摇篮工程:未能找到生成工具版本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日志,但我还没有成功地进入应用程序做更多的事情。我已经通过了preferences多次去看看我是否可以设置一个路径生成工具,但我无法找到任何东西。我该如何解决这个问题,或者我怎么到应用程序,而无需打开一个项目,所以我至少可以看到日志?

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管理器,并在这个时候,我注意到,我有的Andr​​oid SDK平台工具(升级)和 Android SDK中内建工具(新的)。

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.

 
精彩推荐
图片推荐