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


Working with the crystal ball app

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.

I'm downloaded the Mac 64 bit version.

I also noticed that there a several more options available when in the AVD editor. It asks me to select a device manufacturer and device name before moving on. If I select something, I can click the create button, but then I receive the error.

6 Answers

I have seen that posting. I'm on a Mac; as far as I know, that fix was for the Windows version of the software.

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Can you tell us the path where your bundle is unzipped? I haven't seen this error on a Mac before, but it's most likely related to the path. Do you have any existing installations of Eclipse or the Android SDK on your Mac?

It's in a folder under: /Users/chevonbell/Downloads.

I just looked and it appears the file is in my downloads folder twice. Could this be the problem?

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Hmmm. I really don't know, but it could be. This is purely a guess: it's possible that the Eclipse you are using is trying to start the AVD from the other folder.

Your best bet might be to backup the files in your workspace folder (or even zip up both directories as a backup), delete the directories, unzip the Android development bundle again and run the initial_setup script again to reset your paths. Then you could import your project files into that version of Eclipse and hopefully everything would be clean and working.

You can also try investigating the path of the Android SDK in the current version of Eclipse you are using. It's under Eclipse > Preferences > Android. You could also try deleting the current AVD and creating a new one using the AVD Manager (the 2nd Android button in the Eclipse toolbar).

Hope one of these gets you squared away!

Thanks Ben, I essentially moved the file to a new location and it seems to be working now. Not sure were I went wrong to being with, but at least it's okay now.