简体   繁体   中英

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

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!

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.

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? 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


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...

在此处输入图片说明

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.

You can download android Tutorial video help youself improve.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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