Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resize the AVD emulator (in Eclipse)?

People also ask

How do you make AVD full screen?

Alt+Enter is the keyboard shortcut to toggle full screen mode in the emulator, just do it again to exit full screen.

How do I increase my emulator storage?

On Android StudioClick Edit Icon to edit the AVD. Click Show Advanced settings. Change the Internal Storage, Ram, SD Card size as necessary. Click Finish.


This is actually possible from your project as well, no need to start the emulator through the AVD manager:

  1. Go to Run > Run Configurations... > (Select your application on the left hand side) > (Click the "Target" tab on the right hand side).

  2. At the bottom there, you'll see Emulator launch parameters. In the additional emulator command line options, add '-scale 0.75' (to make the screen 75% of full size)

Next time you start the emulator it will have scaled properly.


From within Eclipse:

  1. Go to Window > Android SDK and AVD Manager > Virtual Devices

  2. Select the AVD you want to launch and click Start

  3. Check the Scale display to real size button

  4. Enter how big you want it to appear in inches and press Launch. For this to work, you'll have to also enter a reasonable approximation of your mac's screen resolution. I'm using 7 inches and 113 dpi for my 13" Macbook Pro, but you may be able to get away with 8 or 9 inches.


There is also a way to re size the emulator through a windows command prompt.

  1. From command prompt run: telnet localhost 5554
  2. window scale 0.75
  3. quit

Assuming there is one emulator running with on port 5554.


The telnet answer above is great for Android Studio developers. I just wanted to add that the window scale command will take either a scale factor OR the dpi which may be easier for many people (measure once and it should work for you ADV which are 1dp:1 pixel)

telnet localhost PortNumOfAVD
window scale 96dpi
quit

Note telnet is not installed on windows by default anymore.