How come Android Studio only provides Nexus phones in "Device in Editor" instead of Samsung?

How come Android Studio only provides Nexus phones in "Device in Editor" instead of Samsung?

I just downloaded Android Studio this week. Here's the phones available in "Device In Editor":

enter image description here

When I go to "Create New Virtual Device", again only Nexus Phones are available, no Samsung. What's going on?

enter image description here

Also, why is the PLAY STORE check only for the Nexus 5X and Nexus 5 devices. Why not any newer devices?

2 answers

  • answered 2017-08-16 19:24 4rsenal

    The purpose of the devices in 'device in editor' is not to cover every existing phone. Rather, it is to offer a spectrum of various screen sizes, densities, ratios, etc. So it really does not matter what type of device it is, as long as there is a diverse set of devices and screens offered (which there is). As for the play store thing, I am not sure.

  • answered 2017-08-16 19:24 Robert Nekic

    The short answer is because Google isn't Samsung. Why aren't there LG configs in the Device Editor? Or HTC? Because there are thousands of devices and it would be impractical to manage, even if those OEMs provided the info. Fortunately, they don't need to be pre-defined in there because you can configure your own AVD with any resolution, memory config, etc, to create any device you need to emulate. More or less.

    Of course, there's more to it than just defining the right resolution, etc. Many OEMs, including Samsung, roll their own OS updates, so even if you configure an AVD to match the S7, it won't really be accurate because the emulator will be running stock 7.1.2 (for example) and not Samsung's own flavor of 7.1.2. But it'll be close enough for design work and general testing.

    Going back to Samsung specifically, they do provide device details and skins to help you configure the emulator to more or less match their devices. You can find info about it here:

    http://developer.samsung.com/galaxy/emulator-skin

    As for the Play Store indicator, Google has a brief and fairly unsatisfying explanation:

    Notice that only some hardware profiles are indicated to include Play Store. This indicates that these profiles are fully CTS compliant and may use system images that include the Play Store app.

    https://developer.android.com/studio/run/managing-avds.html