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

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!