Android Emulator do not scale to 100% for Mac Book Pro with Retina Display

心已入冬 提交于 2019-12-17 23:26:43

问题


Not much help on SO or Google about this. On a Macbook Pro Retina, my Emulator is 1/4 of the real size and clicks are not working properly. Please help to setup my emulator for retina display.

For clarification, the image of the emulator is scaled down to 1/4th of the available emulator window, but the clicks register across the entire window. So to unlock the device, for example, you need to guess where the unlock button is in the part of the window that is blank and then click and drag from there.

Here's an image that illustrates this (hat tip Corey D):


回答1:


This is a known issue. We are working on a fix.

EDIT:

Link to issue




回答2:


This has been fixed in the ADT21 preview

You can enable the Preview Tools in Eclipse by doing this:

  1. Launch Android SDK Manager
  2. Select Tools->Options
  3. Click "Enable Preview Tools"
  4. Use the SDK Manager to uninstall the existing version of ADT and install preview tools

Confirmed that it is working on the MacBook Pro Retina 15".




回答3:


In the SDK Manager within Eclipse go to the menu bar, select Tools, Options. Enable Preview Channel and install version 21 of the the SDK. I'm using it right now on my Macbook Pro with Retina Display.




回答4:


As of Revision 22 of the SDK Manager "Enable Preview Tools" has been moved to Prefs:

  1. Launch Android SDK Manager
  2. Select Android SDK Manager->Preferences
  3. Click "Enable Preview Tools"


来源:https://stackoverflow.com/questions/11213037/android-emulator-do-not-scale-to-100-for-mac-book-pro-with-retina-display

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!