title: Android GPS get location return null in x86 emulator but return truth in arm emulator
body: <p>I try to get LastKnowLocation using LocationManager,here is my code:</p>
  
  <pre><code>LocationManager mLocManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
  if (mLocManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) {
          Location mLocation = mLocManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
      }
  </code></pre>
  
  <p>I already add permission in AndroidManifest.xml:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/&gt;
  </code></pre>
  
  <p>Then I use DDMS to send latitude and longitude to emulator,but when I use x86 CPU emulator I get error like </p>
  
  <pre><code>Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference
  </code></pre>
  
  <p>When I use arm CPU emulator I get the right latitude and longitude.Anyone who can tell why I can't get right location in x86 emulator,and how can I deal with it.Thanks.</p>