简体   繁体   English

Eclipse->文件->新建项目中没有可用的Android项目类型

[英]No Android project type available in Eclipse->File->New-Project

I have installed latest JDK and ADT bundle package (I'm working under Windows 7, 32 bits OS) 我已经安装了最新的JDK和ADT捆绑包(我正在Windows 7、32位操作系统下工作)
I installed all the possibly needed packages in ADT Manager. 我在ADT Manager中安装了所有可能需要的软件包。
I defined ADT location in Eclipse->Window->Preferences->Android 我在Eclipse-> Window-> Preferences-> Android中定义了ADT位置
But I still have no option to start File->New->Project->Android->Android Project or 但是我仍然没有选择启动File-> New-> Project-> Android-> Android Project或
File->New->Other->Android Project 文件->新建->其他-> Android项目
I have many other options like: 我还有许多其他选择,例如:
Android Activity Android活动
Android Application Project Android应用项目
Android Icon Set Android图标集
Android Object Android对象
Android Project from Existing Code Android Sample Project 现有代码中的Android项目Android示例项目
Android test Project Android测试项目
etc.. 等等..
But all these are not what I need. 但是所有这些都不是我所需要的。
I already looked on existing questions here like No Android project type in Eclipse->File->New-Project and others and also on several similar questions on other forums but still did not found an answer for my problem. 我已经在这里查看了现有问题,例如Eclipse-> File-> New-Project等中的No Android项目类型,以及其他论坛上的一些类似问题,但仍然找不到我的问题的答案。

You have Android Application Project. 您有Android应用程序项目。 What exactly do you think Android Project is? 您认为Android Project到底是什么? You are trying to create an applicaiton, correct? 您正在尝试创建一个应用程序,对吗? Then Android Application Project is what you want. 然后,Android Application Project就是您想要的。

There is no "Android Project" option. 没有“ Android项目”选项。 In fact, I've never seen it. 实际上,我从未见过。 Basically, you have the following: 基本上,您具有以下条件:

Android Activity - you just want to create an activity Android Application Project - This creates a complete android application project to create an application that you can install and launch on an android device. Android Activity-您只想创建一个活动Android Application Project-这将创建一个完整的android应用程序项目,以创建可在android设备上安装和启动的应用程序。 Android Project from Existing Code - import existing code into an Android Project 现有代码中的Android项目-将现有代码导入到Android项目中

There are many more as you found out. 您发现的还有更多。 But, most of the time, you would use Android Application Project. 但是,大多数情况下,您会使用Android应用程序项目。

You don't really specify what it is you are looking at creating specifically, so I'm going to assume this is what you want. 您没有真正指定要创建的内容,所以我将假定这是您想要的。

If you could give more information as to exactly what you think "Android Project" is for and what you are trying to accomplish with it, that would help. 如果您可以提供有关您认为“ Android Project”的确切用途以及您要使用它完成的工作的更多信息,那将会有所帮助。

Per the ADT tutorial site, they have the instructions on creating an Android Project, which is generic. 在ADT教程网站上,他们都有创建Android项目(通用)的说明。 There are numerous types of Android Project, with the Android Application Project being one of them. Android Project有多种类型,其中Android Application Project就是其中之一。 Not sure if this is where you are getting the name "Android Project" from or not. 不知道这是否是您从中获取名称“ Android Project”的地方。 Here is the link: http://developer.android.com/training/basics/firstapp/creating-project.html 这是链接: http : //developer.android.com/training/basics/firstapp/creating-project.html

Everything you state at this point shows you have installed ADT correctly and it's integrated properly with Eclipse. 此时的所有状态都表明您已正确安装了ADT,并且已正确地与Eclipse集成。

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

相关问题 Eclipse-> File-> New-Project中没有Android项目类型 - No Android project type in Eclipse->File->New-Project 在Eclipse中,当我转到File-> New-Project时,没有Android项目 - In Eclipse, there is no Android Project when I go to File->New-Project 安装了 Eclipse 2020-06,但在 File->New Section 下没有得到 Maven 项目 - Installed Eclipse 2020-06, but didn't get Maven Project under File->New Section eclipse-“在项目浏览器中显示”选项不起作用 - eclipse- “show in project explorer” option is not working Eclipse- Dynamic Web Module 3.0 requires Java 1.6 or newer while creating new project 错误 - Eclipse- Dynamic Web Module 3.0 requires Java 1.6 or newer error while creating new project Eclipse->新的Android项目始终会编译Java 1.4 - Eclipse->New Android Projects always compile java 1.4 当我尝试从File-> New_> Maven Project创建新项目时,出现错误: - When I am trying to create new Project from File->New_>Maven Project, I obtain error: 如何在Eclipse中的“文件”>“新建”>“_____”菜单中添加“Android项目”? - How do I add “Android Project” to the File>New>_____ Menu in Eclipse? 在Eclipse中创建新的Android项目失败 - Create New Android Project In Eclipse Fails 无法在Mac上的Eclipse中创建新的Android项目 - Cannot create a new Android Project in Eclipse on Mac
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM