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

Getting the app on the emulator

I am using the videos for the fun facts app and i have the app set up in android studio, but when I go to run the app, the emulator come sup but the app is not on it. It doesn't say there is an error so I don't know whats wrong with it.

2 Answers

Gnani Pasupula
Gnani Pasupula
3,915 Points

Hi bro , i too had the same problem when i started learning Android studio , u can solve that problem by using this link http://android.stackexchange.com/questions/51742/cannot-start-emulated-android-device-avd-device-in-windows-7

Andre' Jones
Andre' Jones
26,671 Points

We might need more information but here are the steps.

  1. Start the emulator.
  2. In Android studio click the Green Play button.
  3. Choose the emulator from the Device Chooser window.
  4. Click the OK button to launch the app on the selected device
    From here be patient while Android studio runs gradle to build your app once its done it will deploy to your phone.

I just noticed that after running the emulator, when I look at the bottom of android studio it says "Gradle build finished" whereas in the videos on here it says that the app was run on the emulator. Also, when I click android monitor while working on the app, it says emulator unknown. Im not sure if either of those things have to do with why the app isn't showing up but hopefully this is better information