32

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):

Tap/click region vs. display region

James M
  • 18,506
  • 3
  • 48
  • 56
mask
  • 6,172
  • 3
  • 24
  • 23
  • But emulator @ 100% will cover almost 0.25 of the retina display. You may need 200% or bigger (never tried myself if > 100% is supported) – Diego Torres Milano Jun 26 '12 at 18:02
  • Whatever the skin type I use its always 1/4 of the emulator window. – mask Jun 26 '12 at 20:40
  • 7
    A workaround to this emulator issue is to use a tool like setresx or switchresx to set a non retina resolution while starting emulator. then you can revert to your retina resolution, emulator will stay as it should be. See http://code.google.com/p/android/issues/detail?id=33383 for more details. – Vincent Guerci Jul 03 '12 at 13:33
  • 3
    I solved it by using virtual box and this http://www.buildroid.org/blog/?page_id=121 (builddroid) not only is it faster it also works good on the retina. – Stofke Jul 06 '12 at 19:58
  • @BilltheLizard: Now that I can work with! Edited. Popularity may not equal quality, but it equals demand. It may not have been the most complete question, but in the interest of helping the community as quickly as possible, it should have been left open or advice to help improve it should have been given earlier. – Ben Jakuben Jul 23 '12 at 17:33
  • @BenJakuben There's advice on improving questions on the page where people ask questions. It was also linked in the blurb of text that explained the close reason. We just don't have time to guide everyone individually. Thanks a lot for taking the time to improve this question though. It's much appreciated. – Bill the Lizard Jul 23 '12 at 17:36
  • Since Retina display are getting popular, lot of Dev will find this issue and they will run to SO. Great effort by James to consolidate and keep it as simple as it could be. Hurray n happy coding on new retina devices. – mask Jul 23 '12 at 17:48
  • @BilltheLizard Thanks Bill, sounds like I missed it in the close reason. Either way, I'm glad to see it reopened and improved! – Ben Jakuben Jul 23 '12 at 17:49

4 Answers4

11

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".

swiftBoy
  • 35,607
  • 26
  • 136
  • 135
AWT
  • 3,657
  • 5
  • 32
  • 60
10

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

EDIT:

Link to issue

havexz
  • 9,550
  • 2
  • 33
  • 29
Xavier Ducrohet
  • 28,383
  • 5
  • 88
  • 64
  • First... Thank for all of your hard work. Secondly, I assume there is no workaround other than using device or virtualbox solution in the meantime. – bytebender Jul 25 '12 at 21:59
  • See my response with link, if you need a fix ASAP it has been fixed in ADT-21 developer preview. – AWT Sep 27 '12 at 14:10
0

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.

Cameron Lowell Palmer
  • 21,528
  • 7
  • 125
  • 126
0

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"
Kevin Burandt
  • 1,970
  • 1
  • 14
  • 10