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) Getting Started with Android Android Setup and the Crystal Ball Project

AVD Manager

I just started the Android track and I'm already stuck. When I head over to AVD Manager to try to create a new one, I'm required to give more information than AVD name and Target as instructed by the video. What do I do?

3 Answers

Christopher Hall
Christopher Hall
9,052 Points

Besides the AVD name and target (API level), you will also have to choose a device. This can either be a specific one that you have (for me only stock google android devices are available), or a generic one that specifies the size of the screen, resolution and density. For example there is a big difference in how an app would be displayed on these two devices:

  • 4.7" WXGA (1280 x 720: xhdpi)
  • 3.2" QVGA (320 x 480: mdpi)

I would also recommend adding a value in the SD card field if you think your app might store data on the device. This is not really something to worry about too much as a beginning Android developer. However in my experience I found that launching the Android emulator can be really slow sometimes. So you definitely want to enable the 'Use Host GPU' option to speed the launch time up a bit.

Nothing :/ I keep getting the following error [2014-02-08 21:24:52 - SDK Manager] Error: null

Christopher Hall
Christopher Hall
9,052 Points

Hi Matthew, You did set the Android SDK location in Eclipse's Preferences panel, correct? Preferences -> Android

Alternately, it could be a permissions problem with the .android/avd directory. Which operating system are you running? This page on stackoverflow.com might help you with this permissions problem.