title: Location request timed out on android emulator with React-Native
body: <p>I'm building my first android app with react-native.
  What I want to do is <strong>display my current location</strong>. But it doesn't seem to work on my <strong>emulator</strong>. Instead I get a "<em>Location request timed out</em>" error in the console. Here is a sample of code from my idex.android.js file:</p>
  
  <pre><code>initGeoloc() {
     navigator.geolocation.getCurrentPosition(
       (position) =&gt; { 
         console.log(JSON.stringify(position));
       }
     );
  }
  
  render() {
     this.initGeoloc();
     ... some more code and the view
  </code></pre>
  
  <p>The code is very simple so I don't think the error comes from here.
  I added these permission in my AndroidManifest.xml file (ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION):</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.myapp"&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
      &lt;application
         android:allowBackup="true"
         android:label="@string/app_name"
         android:icon="@mipmap/ic_launcher"
         android:theme="@style/AppTheme"&gt;
         &lt;activity
           android:name=".MainActivity"
           android:label="@string/app_name"
           android:configChanges="keyboard|keyboardHidden|orientation|screenSize"&gt;
           &lt;intent-filter&gt;
               &lt;action android:name="android.intent.action.MAIN" /&gt;
               &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
           &lt;/intent-filter&gt;
         &lt;/activity&gt;
         &lt;activity android:name="com.facebook.react.devsupport.DevSettingsActivity" /&gt;
         &lt;uses-library android:name="com.google.android.maps" /&gt;
         &lt;meta-data android:name="com.google.android.geo.API_KEY" android:value="mykey"/&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>I don't see anything wrong here either, so I think the problem comes from the Android emulator. I use Android Virtual Device Manager to create a Nexus 5, Google APIs (Google Inc.) - API Level 23 virtual device. The geolocation is activated on the device but I did not see any geolocation tool in the developper tools or configuration. So probably the error comes from here. <strong>The virtual device does'nt return any location.</strong> </p>
  
  <p>How can I fix this ?</p>