简体   繁体   English

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

[英]There is no Run menu or toolbar button in Eclipse Juno

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." 在该页面的下方,说明显示为“在Eclipse中,从工具栏中单击Android Virtual Device Manager。” That button is also not there! 该按钮也不存在!

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. 任何帮助,将不胜感激。

我的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 ,我只有此选项-不幸的是,勾选“运行”不会添加任何内容-当我尝试获取错误提示时, 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?在“工具栏可见性”下勾选“启动” 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? 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? .

窗口->自定义透视图

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 as and then Android application ....T daaa... 或仍然可以通过在项目浏览器中右键单击要运行的项目并选择Run as ,然后选择Run as Android application .... T daaa ...”来运行项目。

在此处输入图片说明

If still the problem is there check 如果问题仍然存在,请检查

Window -> Customize Perspective -> Toolbar Visibility ->勾选Launch ->按OK

If the entire toolbar is missing then you can use 如果缺少整个工具栏,则可以使用

Window -> Appearance -> Show Toolbar 窗口->外观->显示工具栏

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

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教程视频,以帮助自己改进。

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

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