Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
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
Masum BergmannCourses 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.
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.