1

I'm having some issues managing/running AVDs from the commandline. Whatever device I create/run seems to get cropped and displayed wrongly (see below). I've tried various devices and settings (-scale) and have looked at the avd config files (they just seem to get reset after I make a change).

How can I fix this?

System Info:

  • Windows 10;
  • Latest Android SDK (manual install - no Android Studio);
  • Android Version: 23

emulator screenshot

1 Answer 1

0

Make sure you select the right device resolution and screen size

There are a variety of options for example:

  • dpi (1440 x 2560)
  • xxhdpi (1080 x 1920)
  • tvdpi (800 x1280)
  • xhdpi (1080 x1920)

In my setup (API 23)

Here is my configuration:

  • 5 inch screen size
  • Density 480
  • Monitor dpi 96

Can you check if these values correct you problem, I suggest you try from GUI this time:

See image:

a

To start from GUI go to the folder where android sdk was extracted for example:

C:\Users\Test\Android\android-sdk\AVD Manager.exe
5
  • I don't think the GUI is available in the sdk-only version, but I'll have a look, thanks. Apr 26, 2017 at 12:40
  • Also in GUI toggle the option: Scale to real size, you need to disable it, if it was enabled Apr 26, 2017 at 12:51
  • Did you manage to resolve this matter? May 7, 2017 at 17:42
  • Yeah, I caved and used the Android Studio installer. Works fine now, but seems odd that the stand alone SDK doesn't... I'll give you the answer, but it's gonna need more investigation I think. May 7, 2017 at 19:54
  • Seems strange, but be welcome to answer your own question when you find the solution. If I get something I will update you too. May 7, 2017 at 19:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .