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! While you're at it, check out some resources Treehouse students have shared here.

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

Android

How to Launch Android App in Elcipse

I just start learning Android app development and in the very first video about the Crystal Ball Project, I cannot run the app, probably due to wrong manipulation in Virtual Device Manager or other else which I am unfamiliar with. Anyway when I click the run button the system said that the selection cannot be launched. I viewed all details provided in teacher's note but still cannot figure out. Please help. I know it is an easy problem for some people.

1 Answer

First, check out your Android Virtual Devices, and try making a new one. I personally don't get too intricate with them, I just use a simple preset. This is what I use

Try right-clicking your Android project and clicking "Run-As" > "Android Application". If that doesn't work: Right-click the Android project and click "Run-As" > "Run Configurations" > Target and choosing the AVD that you just made.

Hope this helps.