title: App does not appear in Android emulator
body: <p>I am creating a PhoneGap app using WebStorm (PhoneGap/Cordova App) on a Mac. The problem I have is that the app does not appear in the Android emulator. The emulator appears but the screen with the word "android" does not change to reveal the app:</p>
  
  <p><a href="https://i.stack.imgur.com/PaYWA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PaYWA.png" alt="enter image description here"></a></p>
  
  <p>I have followed the instructions on the <a href="https://cordova.apache.org/docs/en/latest/guide/platforms/android/" rel="nofollow noreferrer">Cordova site for Android</a> setup on a Mac:</p>
  
  <p><a href="https://i.stack.imgur.com/8v1bt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8v1bt.png" alt="enter image description here"></a></p>
  
  <p>This is the emulator setup:</p>
  
  <p><a href="https://i.stack.imgur.com/gisqy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gisqy.png" alt="enter image description here"></a></p>
  
  <p>I have tried activating and deactivating "Use Host GPU" as per the answers and comments to this question to no use - <a href="https://stackoverflow.com/questions/10022580/android-emulator-shows-nothing-except-black-screen-and-adb-devices-shows-device">Android emulator shows nothing except black screen and adb devices shows &quot;device offline&quot;</a></p>
  
  <p>The app appears and works correctly when I choose "browser" as the Platform in the configuration:</p>
  
  <p><a href="https://i.stack.imgur.com/AQnty.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AQnty.png" alt="enter image description here"></a></p>
  
  <p>Any ideas what else I need to do?</p>
  
  <p><strong>Edit 1</strong>: This is the log information when running in verbose mode as suggested by @Dar</p>
  
  <blockquote>
    <p>Running command: /Users/username/Documents/Projects/harkme/platforms/browser/cordova/run --emulator</p>
    
    <p>Static file server running @ <a href="http://localhost:8000/index.html" rel="nofollow noreferrer">http://localhost:8000/index.html</a></p>
    
    <p>CTRL + C to shut down</p>
    
    <p>ANDROID_HOME=/usr/local/Cellar/android-sdk/24.3.4/</p>
    
    <p>JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > No emulator specified, defaulting to AVD_for_Galaxy_Nexus_by_Google</p>
    
    <p>Waiting for emulator...</p>
    
    <p>emulator: WARNING: VM heap size set below hardware specified minimum of 128MB</p>
    
    <p>emulator: WARNING: Setting VM heap size to 256MB</p>
    
    <p>Hax is enabled</p>
    
    <p>Hax ram_size 0x40000000</p>
    
    <p>HAX is working and emulator runs in fast virt mode.</p>
    
    <p>console on port 5554, ADB on port 5555</p>
  </blockquote>
  
  <p><strong>Edit 2</strong>:</p>
  
  <p>Enabling HAXM as mentioned by @Dar speeds up the emulator greatly to the extent that the "android" page disappears after a few seconds to show the desktop but the app is not installed. However, I found that if I dragged the app from the build folder onto the desktop the app installed. The app file (<strong>android-debug.apk</strong>) is located in:</p>
  
  <p><strong>platforms/android/build/outputs/apk</strong></p>
  
  <p>This procedure actually (accidentally) improved my workflow as I now just build the app and drag it onto the emulator instead of doing a <strong>PhoneGap/Cordova run</strong> from WebStorm after making changes to test the app.</p>
  
  <p>I also changed the emulator setup to this:</p>
  
  <p><a href="https://i.stack.imgur.com/KlwPP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KlwPP.png" alt="enter image description here"></a></p>
  
  <p>Edit 3:</p>
  
  <p>Sometimes when launching the emulator the following error appears</p>
  
  <blockquote>
    <p>Unknown hax vcpu return 1</p>
  </blockquote>
  
  <p>If it continues to do so, the only way to get round it, at the moment, is to restart the Mac, as suggested here - <a href="https://code.google.com/p/android/issues/detail?id=201694" rel="nofollow noreferrer">https://code.google.com/p/android/issues/detail?id=201694</a></p>