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 Build a Simple Android App (retired 2014) Learning the Language Objects and Random Numbers

Anna Pomazunova
Anna Pomazunova
936 Points

There are no changes in the AVD when i run the program, however there is a success message in the console window

[2014-08-03 15:56:18 - crystalBall] Android Launch! [2014-08-03 15:56:18 - crystalBall] adb is running normally. [2014-08-03 15:56:18 - crystalBall] Performing com.example.crystalball.MainActivity activity launch [2014-08-03 15:56:19 - crystalBall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'Android44' [2014-08-03 15:56:19 - crystalBall] Uploading crystalBall.apk onto device 'emulator-5554' [2014-08-03 15:56:22 - crystalBall] Installing crystalBall.apk... [2014-08-03 15:56:52 - crystalBall] Success! [2014-08-03 15:56:53 - crystalBall] Starting activity com.example.crystalball.MainActivity on device emulator-5554

Tried to create several different types of androids in AVD, none of them show any change or any result while all show these sucess messages

3 Answers

Alessandro Calorì
Alessandro Calorì
10,241 Points

The log says:

[2014-08-03 15:56:53 - crystalBall] Starting activity com.example.crystalball.MainActivity on device emulator-5554

So it should have been started. Sometimes Android emulator does not work properly with video hardware acceleration on (at least on my PC). Now I'm using Genymotion for testing: much better.

Alessandro Calorì
Alessandro Calorì
10,241 Points

Are you using hardware video acceleration?

Have you tried running the app by clicking the app icon in the emulator?

Eclipse would do that for me when I started this track. Once I downloaded the project files from the video I was on, it started running automatically in the emulator.