Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
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.
Amit BijlaniTreehouse Guest Teacher
Maybe this post might help: https://teamtreehouse.com/forum/android-development-cant-complete-course
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 JakubenTreehouse 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 JakubenTreehouse 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.