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!

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


Cant get the android AVD working

During the initial android video - it is asking me to use Android Virtual Device Manager. I try to create an Android41 /AVD but when selecting Create AVD I get an error message

[2013-01-02 23:19:43 - SDK Manager] Error: Target location is not inside the SDK. [2013-01-02 23:19:43 - SDK Manager] Failed to set image path properties in the AVD folder.

ive seen a few other users post about this as well. now, im pretty new to coding, but can anybody explain to me how to fix this in layman's terms? explain it like youre talking to a 4-year-old. thanks in advance.

3 Answers

Try to change the type of AVD you're using. Test out different versions. That happened to me as well. And sometimes, it also takes a while to load...

Ben Jakuben
Ben Jakuben
Treehouse Teacher

I answered this through our Help system but I'm pasting my reply in here in case it can help anyone else in the future:

Sorry you're having trouble. That's an annoying issue that I unfortunately don't have a good explanation for. It appears that Eclipse on the Windows operating system has occasional problems with finding some files it needs for Android development. Basically, the Android SDK is downloaded to a folder (it's all included in our bundle) and Eclipse is set to know where that folder is. But sometimes certain paths, or certain special characters within that path (to be more specific), can cause problems for Eclipse.

So, can you tell me where you downloaded and unzipped the bundle? You could try moving it in Windows Explorer to a simple path like C:\Android or C:\temp. After moving it you would need to run initial_setup.bat again (just double-click on it from the new location). You can also find some suggestions on this Treehouse Forum post about the same issue: https://teamtreehouse.com/forum/android-lesson-cant-run-initialsetupbat

see, im fairly new to this whole thing. whats the best way to see where I downloaded and unzipped the bundle? and then how do i use windows explorer? thanks.

edit: this is my location : C:\Users\beezy\Downloads\android_dev_environment_windows_64bit (1)

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Ah, sorry about the assumptions! I see you got your location, which is great. My guess is that the " (1)" at the end of the file name there is causing you trouble. Can you navigate to that directory and delete the space and (1)? If you've never used Windows Explorer, it lets you drill down into directories and make changes. It's pretty much the same as opening up "My Computer". Where you find Windows Explorer depends on which version of Windows you have, but you can usually get to it through the Start menu somehow. -- Windows 7 | Windows 8 (it's called File Explorer in Windows 8)

Once you make that change, double-click on the android_dev_environment_windows_64bit folder and then double-click on the file initial_setup.bat. You can run that again to reset your Eclipse to update for the name change.