title: Create an emulator with a decent size from command line
body: <p>I want to create an ARM API 21 emulator loaded with Google APIs.</p>
  
  <p>Here's how I create the AVD:</p>
  
  <pre><code>ANDROID_ABI=google_apis/armeabi-v7a
  EMULATOR_VERSION=21
  avd --force -n nexus4-emulator -t "Google Inc.:Google APIs:"$EMULATOR_VERSION --abi $ANDROID_ABI --device "Nexus 4" -c 128M
  </code></pre>
  
  <p>And now I start up the emulator with:</p>
  
  <pre><code>emulator -avd nexus4-emulator &amp;
  </code></pre>
  
  <p>However, this is what I get: a screen with tiny dimensions (in terms of effective pixels):</p>
  
  <p><a href="https://i.stack.imgur.com/31qM5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/31qM5.png" alt="Emulator with tiny screen"></a></p>
  
  <p>How can I change this config so that I have a properly sized screen?</p>
  
  <p>I'm using this to build APKs and run tests on a machine in Travis, by the way, but it's reproducible in my machine (Mac OS X).</p>