android – How can I create avd for the Samsung Galaxy S4 (1080X1920)-ThrowExceptions

Exception or error:

How can I create AVD for Samsung Galaxy S4 and in which layout will it comes large or normal?

While am I creating AVD, it creating emulator in large-xxhdpi.

How to solve:

Follow the steps given at below URL to create avd for Galaxy S4 smartphone. S4 and and xperia z have same screen size (5 inch) and same resolution 1080×1920.

Please note that you must also install ‘Sony DeviceProfiles’ under Extras within the SDK Manager, as well as ‘Sony Add-On SDK’.

To exactly match the emulator, clone xperia z from “device definition” tab and chose hardware button to create user defined device and create avd from this new device.

Don’t forget to check “Use host GPU emulation” option for avd also keep in mind that your system must have graphics card (GPU) installed in it.

Leave a Reply

Your email address will not be published. Required fields are marked *