title: How to use adb with genymotion on mac?
body: <p>I am using cordova to build apps for android, on Mac OS X 10.9.4.</p>
  
  <p>I am using genymotion to create virtual devices.</p>
  
  <p>Yesterday I was able to get 'cordova run android' to get my apps to run on a genymotion virtual device.</p>
  
  <p>Today, I thought I repeated the steps I took yesterday, but I can't get it to work.</p>
  
  <p>I start the adb server (with genymotion not running) with</p>
  
  <pre><code>adb start-server
  </code></pre>
  
  <p>adb server starts up fine:</p>
  
  <pre><code>* daemon not running. starting it now on port 5037 *
  * daemon started successfully *
  </code></pre>
  
  <p>I can see it's there</p>
  
  <pre><code>lsof -i tcp:5037
  adb     19131 bw    7u  IPv4 0x3c0bc54e449e35f5      0t0  TCP localhost:5037 (LISTEN)
  </code></pre>
  
  <p>There's no devices attached</p>
  
  <pre><code>adb devices
  </code></pre>
  
  <p>So far so good</p>
  
  <p>Now when I start up genymotion, and start a virtual device, my adb seems to have been killed and cannot start because the virtual device has apparently killed it and started its own adb instance</p>
  
  <pre><code>unknown-6c-40-08-9b-25-2c:todo bw$ adb devices
  adb server is out of date.  killing...
  cannot bind 'tcp:5037'
  ADB server didn't ACK
  * failed to start daemon *
  error: 
  </code></pre>
  
  <p>This now gives me no way to add the device to adb so that I can access it by doing</p>
  
  <pre><code>cordova run android
  </code></pre>
  
  <p>This command now fails, because it can't find a running device.</p>
  
  <p>I tried running adb start-server as root, so that genymotion couldn't kill it, but then the genymotion virtual device wouldn't start up.</p>
  
  <p>What gives? Grateful for any ideas.. Thanks!</p>