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 trialKaren Matthews
2,478 PointsEmulator in eclipse is not responding to Run as
Everything seems to be set up but when I complete Run as- Android- nothing happens in the emulator. I am using Android 44 version 19. I also do not have the console feature in the lower area of Eclipse so am not seeing if anything is loading. Any suggestions.
2 Answers
Gunjeet Hattar
14,483 Points1) To get the console feature go to Window -> Show View -> and select Console
2) Also important is the logcat view to get that go to Window -> Show View -> Other (right at the bottom) -> In the next Windows expand Android -> select Logcat and click ok
Now you should be able to get the error if any pin pointed.
3) When you start an app make sure you are not in the layout file i.e. (layout.xml), or have clicked somewhere else. From the project directory on your left, click any of the .java files say for e.g. MainActivity.java and now click the run button the green play button at the top and it should load just fine in the emulator
Hope that helps . Ask again if you have any doubt.
Matheus G Oliveira
9,682 PointsHey Karen,
Remember to click on the Project you want to Run and then click on Run as. Or, click on Run as - Android Application.
Karen Matthews
2,478 PointsThank you Matheus. Your suggestion is helpful.
Karen Matthews
2,478 PointsKaren Matthews
2,478 PointsI am so excited! It worked! I was in the layout file. I closed the layout file then I selected MainActivity.java tab. And this worked. I have also found the Console and Logcat views. Thank you for the great help Gunjeet!