dotNET
dotNET

Reputation: 35410

Emulator contents too large

Just started with Android Studio. The problem is that my emulator contents (not the emulator window itself) show too big. Following is a snapshot:

enter image description here

So my question is different than this post where the problem seems to be that the emulator window itself is larger than the screen. Also I tried following steps given in this post, but that doesn't help much. Anyone can help me with this?

Note: I have already downloaded the skin from vendor's website and supplied correct physical screen size and resolution in the config files.

Upvotes: 3

Views: 3200

Answers (1)

srinivasu u
srinivasu u

Reputation: 1473

I had similar problem. I was trying to create Nexus 6P device with the following command

avdmanager create avd -n nexus6p -k "system-images;android-25;google_apis;x86" -b x86 -c 1000M -d 11 

Later I read somewhere, there are issues with resolution compatibility of your computer and the device you intend to create. Nexus 6P (in my case, it has id of 11; you can check them with avdmanager list device command) is a very high resolution display device. I issued following command

avdmanager create avd -n nexus6p -k "system-images;android-25;google_apis;x86" -b x86 -c 1000M -f

without specifying any specific device. It asked if I wished to create a custom hardware profile with default answer being no. I simply pressed enter so that it created a standard hardware profile. The resulting avd did not have this problem. I emulated the device with following command

./emulator -avd nexus6p -gpu off -qemu -m 2047 -enable-kvm

In my case, switching off gpu was necessary to prevent crashing of the emulated device.

Upvotes: 1

Related Questions