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

Johan Rönkkö
Johan Rönkkö
28,054 Points

Problem with launching AVD emulator

Hi, i've just started the android studio course but i got an error launching the AVD in emulator. This is my error: Cannot launch AVD emulator. Output: emulator: ERROR: This AVD's configure is missing a kernel file!! emulator: ERROR: ANDROID_SDK_ROOT is undefined. I installed the android studio before and i think i did something wrong. When installing it again it somehow saved my previous installation settings. Should i format my mac from scratch and then install android studio so it wont have any previous settings installed or is it any more efficient way of solving this?

1 Answer

Try going into your SDK Manager and ensuring you have downloaded all the emulator files for your target SDK. They usually have ARM or Intel in the file name. Let us know if that solves the issue.