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.

Android

Error message when creating Android Virtual Device: "Target location is not inside the SDK"

I just started the Android course, and I'm trying to set up a new Android Virtual Device. I followed the video's instructions to a T.

Name = Android 41 Target = Android 4.1 API Level 16

But when I click 'Create AVD' I get this error message in the console: "Error: Target location is not inside the SDK. Failed to set image path properties in the AVD folder."

Screenshot: http://i.imgur.com/UfeQbfg.jpg

Help!

EDIT: Found a fix. It turns out that the Android SDK package they included with the course isn't the best one to use. Went straight to the official Android Development site for the package. Found this old thread which had some helpful info: https://teamtreehouse.com/forum/android-lesson-cant-run-initialsetupbat

2 Answers

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Thank you for posting the fix! :)

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Thanks, Jeremy! We will be planning an update of the Treehouse Android bundle before too long. This is great to know!

Daniel Cardenas
PLUS
Daniel Cardenas
Courses Plus Student 9,236 Points

Hi, Ben Just a friendly fyi, I just tried creating an avd manager and it gave me the same error. It looks like the bundle package is still not updated. Thanks,

Ben Jakuben
Ben Jakuben
Treehouse Teacher

I'm going to refresh the Crystal Ball course soon with a new bundle and materials, but I should see about fixing the bundle now. Sorry for the trouble!