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 trialMelissa Peterson
445 PointsHow do you get the system images to make an emulated device?
I'm running Android Studio on Windows and when I try to make an emulated device, CPU/ABI is grayed out saying, "No system images installed for this target."
4 Answers
Harry James
14,780 PointsWhat this means is that you do not have the SDK installed that you are trying to use. Open the SDK manager and install the Platform and System Images for that SDK version and, you're all set to go!
Harry James
14,780 PointsThe SDK Manager is this little button here: http://gyazo.com/1dd5a5a85766d94174aa185cbe95ac4a It's located on the left of the Virtual Device Manager :)
You don't need to download every SDK (Infact, I don't know anyone who does) however, you should download your projects Target SDK. If you don't know what this is already, open up your AndroidManifest.xml file and switch to the XML view. You should see a line like this:
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="21" /> // This is the important line!
The numbers may be different for your project but, this target SDK is what matters. Either download the version for your targetSdkVersion (You will want to download the platform and the system images for that SDK version) or, download the Android L preview and set this to 21 (When Android L is actually released, it will be API 21. At the moment, it shows up as 20 but, I'd recommend using 21 as, it means you won't have to change it for a while).
Hope it helps and, any more questions, let me know :)
Jason Massey
16,635 PointsThank you.
Jason Massey
16,635 PointsSorry, but what is the SDK manager and where can I find it?
Ben Jakuben
Treehouse TeacherThanks, Harry! The download on the video page includes the appropriate SDK and AVD image for convenience, but this gives you the same thing.
Melissa Peterson
445 PointsMelissa Peterson
445 PointsThank you