Reverse Geocoding works in Debug mode but not in Run Mode
<p>I have a pretty strange situation related to geocoding in Android. I have a class where I find latitude and longtitude information and translate this into address info using location based services.</p>

<p>Application is working fine in Debug mode where x,y pair is translated to Address information but when I run application in Run Mode (When I run it usual way) translation is always NULL.</p>

<p>Did you face such situation before? If yes, what can cause such issue?</p>

<p>Code snippet for latitude, longtitude pair    </p>

<pre><code> mostRecentLocation = locationManager.getLastKnownLocation(locationProvider);
        if(mostRecentLocation != null) { //Update with New Location
            lat = mostRecentLocation.getLatitude();
            lng = mostRecentLocation.getLongitude();
            currentLocationURL = "http://maps.google.com/?q=" + lat + "," + lng; //Construct URL
        } else {
            currentLocationURL = "No Location Found";
        }
</code></pre>

<p>Translation of X,Y to Address information,</p>

<pre><code> addresses = gc.getFromLocation(lat, lng, 1);
            StringBuilder sb = new StringBuilder();
            if (addresses.size() &gt; 0) {
                Address address = addresses.get(0);
                for (int i = 0; i &lt; address.getMaxAddressLineIndex(); i++)
                    sb.append(address.getAddressLine(i)).append("\n");
                    sb.append(address.getLocality()).append("\n");
                    sb.append(address.getPostalCode()).append("\n");
                    sb.append(address.getCountryName());
            addressString = sb.toString();
</code></pre>
