无法在 Eclipse 中创建 Android 应用程序项目。错误消息 - 输入应用程序名称(显示在启动器中)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16605627/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 20:31:10  来源:igfitidea点击:

Not able to create Android application project in Eclipse. Error Message - Enter an application name (shown in launcher)

javaandroideclipseide

提问by Nikhil Agrawal

I want to create a fresh Android application project in Eclipse. But when I try to create a project it every time gives me the message on the first screen of creation.

我想在 Eclipse 中创建一个新的 Android 应用程序项目。但是当我尝试创建一个项目时,它每次都会在创建的第一个屏幕上给我消息。

Enter an application name (shown in launcher)

输入应用程序名称(显示在启动器中)

enter image description here

在此处输入图片说明

When I remove the theme also

当我也删除主题时

enter image description here

在此处输入图片说明

I have already entered a name for that application.

我已经为该应用程序输入了名称。

I am using:

我在用:

  • Android api level 10

  • Eclipse Version: Indigo Service Release 2,Build id: 20120216-1857

  • Operating System : Linux Fedora 17

  • Android API 级别 10

  • Eclipse 版本:Indigo Service Release 2,版本号:20120216-1857

  • 操作系统:Linux Fedora 17

There are projects which I am developing on the same machine.

我在同一台机器上开发了一些项目。

I have several times restarted eclipse and my developing machine. What is happening?

我已经多次重新启动 eclipse 和我的开发机器。怎么了?

This my sdk image for api level 17

这是我的 api 级别 17 的 sdk 图像

enter image description here

在此处输入图片说明

Update from the solutions I got that my ADT plugin was not updated for Android sdk tools version 22. So now I have updated it but I have another error. See:

从我得到的解决方案更新,我的 ADT 插件没有针对 Android sdk 工具版本 22 更新。所以现在我已经更新了它,但我有另一个错误。看:

enter image description here

在此处输入图片说明

采纳答案by Bhavesh Patadiya

This issue has been often occurred by Many People. you can see HERE

这个问题很多人经常遇到。你可以在这里看到

Solution given by them is to

他们给出的解决方案是

Update ADT plugin and then SDK tools and after when you will try tocreate a new project, the error will not occur

更新ADT插件,然后更新SDK工具,然后尝试创建新项目时,不会出现错误

Hope this will Help.

希望这会有所帮助。

回答by mromer

I think you don`t have any API installed to compile. First install an API version in SDK Manager and later try again to create a new project.

我认为你没有安装任何 API 来编译。首先在 SDK Manager 中安装一个 API 版本,然后再尝试创建一个新项目。

UPDATE:

更新:

If you update SDK Android, probably you must update ADT.

如果您更新 SDK Android,可能您必须更新 ADT。

For the last error update eclipse.

对于最后一个错误更新 eclipse。

回答by Anukool

In Eclipse, go to Window -> Android SDK Manager. Select one or more SDK Platforms to install.
You have to install the sdk platforms before creating the Android application project. See if this helps.

Eclipse, go to Window -> Android SDK Manager. 选择一个或多个要安装的 SDK 平台。
在创建 Android 应用程序项目之前,您必须安装 sdk 平台。看看这是否有帮助。

回答by boy

Go to Android SDK Manager

转到 Android SDK 管理器

tools -> android sdk buid tools (Select last rev. and install the pack.)

thats worked for me.

那对我有用。