Eclipse Juno 中没有运行菜单或工具栏按钮

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26094681/
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 22:02:38  来源:igfitidea点击:

There is no Run menu or toolbar button in Eclipse Juno

javaandroideclipse

提问by Matt

I'm trying to follow the Android Development Tutorial - this page: http://developer.android.com/training/basics/firstapp/running-app.html

我正在尝试遵循 Android 开发教程 - 此页面:http: //developer.android.com/training/basics/firstapp/running-app.html

I am stuck - I cannot run the application. The instructions say "Open one of your project's files and click Run from the toolbar." However, there is no "Run" button on the toolbar, and there is no obvious option to choose from the "Run" dropdown on the menubar (see screenshot below).

我被卡住了 - 我无法运行该应用程序。说明说“打开您的项目文件之一,然后从工具栏中单击运行。” 但是,工具栏上没有“运行”按钮,菜单栏上的“运行”下拉菜单也没有明显的选项可供选择(请参见下面的屏幕截图)。

Further down on that page, the instructions say "In Eclipse, click Android Virtual Device Manager from the toolbar." That button is also not there!

在该页面的更下方,说明显示“在 Eclipse 中,单击工具栏中的 Android 虚拟设备管理器”。那个按钮也不在那里!

Am I missing something really obvious? I am on the Java perspective, and I have tried "Window -> Reset Perspective", but I am unable to run the application.

我错过了一些非常明显的东西吗?我是 Java 视角,我尝试过“窗口 -> 重置视角”,但我无法运行该应用程序。

Any help would be appreciated.

任何帮助,将不胜感激。

Screenshot of my Eclipse

我的 Eclipse 的屏幕截图

EDIT: Under Window -> Customize Perspective -> Menu Visibility, I only have this - ticking Run unfortunately doesn't add anything - nor does ticking Launch under "Toolbar Visibility", when I try that I get the error Launch cannot be made visible because it is in the unavailable null command group. Would you like to switch to the Command Group Availability tab?.

编辑:在 下Window -> Customize Perspective -> Menu Visibility,我只有这个 - 不幸的是勾选 Run 不会添加任何东西 - 在“工具栏可见性”下勾选 Launch 也没有,当我尝试时我收到错误Launch cannot be made visible because it is in the unavailable null command group. Would you like to switch to the Command Group Availability tab?

Window ->Customize Perspective

窗口 ->自定义视角

采纳答案by nobalG

You can add it like Window-> CustomizePerspective-> Menu Visibility-> Run-> Ok

您可以像这样添加Window-> CustomizePerspective-> Menu Visibility-> Run->Ok



or still can run your project by Right clicking on your project which you want to run from the project explorer and select Run asand then Android application....T daaa...

或者仍然可以通过右键单击要从项目资源管理器中运行的项目并选择Run as然后Android application....T daaa ...来运行您的项目。

enter image description here

在此处输入图片说明

If still the problem is there check

如果问题仍然存在,请检查

回答by Demplo

Window-> Customize Perspective-> Toolbar Visibility-> tick Launch-> Press ok

Window-> Customize Perspective-> Toolbar Visibility-> 打勾Launch-> 按确定

回答by Joy elalam

Window -- > Open Perspective --> Java

窗口 --> 打开透视图 --> Java

回答by Gamebuster19901

If the entire toolbar is missing then you can use

如果缺少整个工具栏,则可以使用

Window -> Appearance -> Show Toolbar

窗口 -> 外观 -> 显示工具栏

回答by Morrsion Macleo

Don't modified BuildConfig.java file,that file is generate by android sdk.

不要修改 BuildConfig.java 文件,该文件是由 android sdk 生成的。

You can download android Tutorial video help youself improve.

您可以下载 android 教程视频帮助自己提高。