0

I have an issue whereby the Android emulator does not fit its window as shown in the image below. Strangely, to interact with the emulator it believes the screen does fit so to open Gmail in the image, I must click near the bottom of the screen in the black. Also, a screenshot comes out correctly with no black.

What I have tried to remedy the issue:

  • I have tried a range of Android APIs (O, Nougat, Lollipop, etc.)
  • I have tried downgrading Android Studio
  • I have tried reinstalling Android Studio deleting .android etc. for a fresh install
  • I have tried installing all recommended updates (HAXM, etc.)
  • I have tried a range of phone/tablet screen sizes
  • I have tried a range of settings including different graphics options all configurable under the AVD Manager
    • This includes setting Graphics to Software
  • I have tried resizing the window
  • I have tried zooming in/out

Android Emulator

Can anyone help? This seems like such a basic thing.

AVD Details:

Name: Nexus_10
CPU/ABI: Google APIs Intel Atom (x86)
Path: C:\Users\X\.android\avd\Nexus_10_API_22.avd
Target: google_apis [Google APIs] (API level 25)
Skin: 2560x1600
SD Card: C:\Users\X\.android\avd\Nexus_10_API_22.avd\sdcard.img
hw.dPad: no
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: Nexus 10
vm.heapSize: 192
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
hw.initialOrientation: landscape
skin.path.backup: _no_skin
image.androidVersion.api: 25
hw.audioInput: yes
image.sysdir.1: system-images\android-25\google_apis\x86\
tag.id: google_apis
showDeviceFrame: no
hw.camera.back: emulated
hw.mainKeys: no
AvdId: Nexus_10
hw.camera.front: emulated
hw.lcd.density: 320
avd.ini.displayname: Nexus 10
hw.gpu.mode: guest
hw.device.hash2: MD5:47dc70fd92541dd16c19f9efa3e9db62
hw.ramSize: 1536
hw.trackBall: no
PlayStore.enabled: false
hw.battery: yes
hw.cpu.ncore: 2
hw.sdCard: yes
tag.display: Google APIs
runtime.network.latency: none
hw.keyboard: yes
hw.sensors.proximity: no
disk.dataPartition.size: 800M
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
u01jmg3
  • 712
  • 1
  • 11
  • 31
  • https://stackoverflow.com/q/29737499/1531971 –  Aug 18 '17 at 15:56
  • @jdv: already found that post and tried the suggested fixes. Which fix in particular were you pointing me to? I am on Android Studio 2.3.3 so some of the suggestions won't apply. – u01jmg3 Aug 18 '17 at 16:04
  • I face the same issue did you find a fix ? – 3lokh Aug 23 '17 at 19:01
  • Nope - nobody replied to me. Logged a bug report with Google: https://issuetracker.google.com/issues/64865863 – u01jmg3 Aug 23 '17 at 23:36

1 Answers1

0

alternative solution that works with any oversized app window is to change its High DPI settings for the exe file running

here, you'd go to the emulator exe file

i had it in "C:\Users\ *****\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64"

1 - right click the emulator exe file "qemu-system-x86_64.exe" and choose properties

// if not in this folder, just check task manager while running the emulator and go to file location

2 - from properties, select the compatibility tab on top, then "Change high DPI settings"

3 - at bottom, check "High DPI settings override and choose "System" from the dropdown menu

Dharman
  • 30,962
  • 25
  • 85
  • 135