与Eclipse的Andr​​oid SDK中丢失的菜单项 [英] Eclipse with Android SDK missing menu items

查看:143
本文介绍了与Eclipse的Andr​​oid SDK中丢失的菜单项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个系统,我已经安装了Eclipse(3.6)和Android开发工具(SDK,ADT)。它们都具有相同的版本。然而,在一个系统上,在文件 - >新建菜单,还有Android的特定项目 - 新的Andr​​oid项目,新的Andr​​oid XML文件。但另一方面,这些特定的菜单项不存在。 >新建 - - 是的,我可以通过选择文件到达项目>项目,然后在对话框挑Android项目,但不知道为什么我没有具体的项目

I have two system that I've installed Eclipse (3.6) and the Android development tools (SDK, ADT). They both have the same versions. However, on one system, under the File -> New menu, there are Android specific items - New Android Project, New Android XML file. But on the other, those specific menu items are not there. Yes, I can get to the items by choosing File -> New -> Project, then in the dialog pick Android Project, but was wondering why I don't have the specific items.

我试着重新安装Eclipse和Android的项目,但菜单项就是不匹配。

I've tried reinstalling Eclipse and the Android items, but the menu items just don't match.

任何人都更熟悉Eclipse和它的附加件,如机器人有什么想法? (这两个系统确实有在窗口菜单,FWIW的打开Android AVD和SDK项目)

Anyone more familiar with Eclipse and it's add-ons like Android have any idea? (Both system do have the "Open Android AVD and SDK" item under the window menu, FWIW)

感谢。

推荐答案

我是能够恢复的文件遗失物品|新... 的相当容易地通过执行以下步骤:

I was able to restore the missing items in File | New... quite easily by performing the following steps:

  1. 切换到Java透视图,或者通过角度切换器的工具栏在主Ec​​lipse窗口的右上角,或通过的窗口|打开透视的菜单项。
  2. ,或点击窗口重置通过在透视图切换器工具栏上的Java透视图图标,或者右击视角|复位透视...
  1. Switch to the Java perspective, either via the perspective switcher toolbar at the top right of the main Eclipse window, or via the Window | Open Perspective menu item.
  2. Reset the perspective by either right-clicking on the Java perspective icon in the perspective switcher toolbar, or by clicking Window | Reset Perspective...

至于为什么他们不存在,首先,最有可能的原因是,该ADT有利于各种事情到Java透视图,而这些改变不会生效,直到观点在安装ADT后重置。作为一个Eclipse插件开发人员,我了解到硬盘的方式,即改变观点没有得到回升,除非你明确地重新设置。

As to why they weren't there in the first place, the most likely cause would be that the ADT contributes various things to the Java perspective, and these changes don't take effect until the perspective is reset after installing the ADT. As an Eclipse plug-in developer I learned it the hard way, that changes to perspectives don't get picked up unless you explicitly reset them.

这篇关于与Eclipse的Andr​​oid SDK中丢失的菜单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆