简体   繁体   English

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

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

I want to create a fresh Android application project in Eclipse. 我想在Eclipse中创建一个全新的Android应用程序项目。 But when I try to create a project it every time gives me the message on the first screen of creation. 但是当我尝试创建一个项目时,它每次都会在第一个创建屏幕上给我提供信息。

Enter an application name (shown in launcher) 输入应用程序名称(显示在启动器中)

在此输入图像描述

When I remove the theme also 当我删除主题也

在此输入图像描述

I have already entered a name for that application. 我已经输入了该应用程序的名称。

I am using: 我在用:

  • Android api level 10 Android api等级10

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

  • Operating System : Linux Fedora 17 操作系统:Linux Fedora 17

There are projects which I am developing on the same machine. 我正在同一台机器上开发项目。

I have several times restarted eclipse and my developing machine. 我有几次重启eclipse和我的开发机器。 What is happening? 怎么了?

This my sdk image for api level 17 这是api级别17的sdk图像

在此输入图像描述

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. 从我得到的解决方案更新我的ADT插件没有更新为Android sdk工具版本22.所以现在我已经更新它但我有另一个错误。 See: 看到:

在此输入图像描述

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 to create a new project, the error will not occur 更新ADT插件,然后更新SDK工具,在您尝试 创建新项目之后,将不会发生错误

Hope this will Help. 希望这会有所帮助。

I think you don`t have any API installed to compile. 我认为你没有安装任何API来编译。 First install an API version in SDK Manager and later try again to create a new project. 首先在SDK Manager中安装API版本,然后再次尝试创建新项目。

UPDATE: 更新:

If you update SDK Android, probably you must update ADT. 如果您更新SDK Android,可能您必须更新ADT。

For the last error update eclipse. 对于最后一次错误更新eclipse。

In Eclipse, go to Window -> Android SDK Manager . Eclipse, go to Window -> Android SDK Manager Select one or more SDK Platforms to install. 选择一个或多个要安装的SDK平台。
You have to install the sdk platforms before creating the Android application project. 您必须在创建Android应用程序项目之前安装sdk平台。 See if this helps. 看看这是否有帮助。

Go to Android SDK Manager 转到Android SDK Manager

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

thats worked for me. 那对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM