问题
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:
- Launch Android SDK Manager
- Select Tools->Options
- Click "Enable Preview Tools"
- 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:
- Launch Android SDK Manager
- Select Android SDK Manager->Preferences
- Click "Enable Preview Tools"
来源:https://stackoverflow.com/questions/11213037/android-emulator-do-not-scale-to-100-for-mac-book-pro-with-retina-display