Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Simple Android App (retired 2014) Getting Started with Android Android Setup and the Crystal Ball Project

Run As has no options to Run as Android Application

Trying to run the Crystal Ball for the first time and I see Run As but there is no "Android Application" option for Run As

2 Answers

Masum Bergmann
PLUS
Masum Bergmann
Courses Plus Student 4,129 Points

Inside your Package Explorer (window on the left), expand res folder of your project, then expand layout folder and select the activity_main.xml file (one click).

Now click on the little down arrow on the right of the Run button, and you should be able to see the Run As... and then Android Application option.

Alternatively, right-click on your project folder in the Package Explorer, where you will also see the Run As... option.

Good Luck!

While in the Main_Activity class, just click the large Green Run Button that looks like a play button. Don't worry about the drop down. When you click on run the first time, a small dialog box will appear confirming how you want to run the application. Select Android Application and click on OK .

The next time you can click run an it will simply execute.

Hope that helps.