描述:我正在使用Google maps API V2
。我已经Android Reverse Geocoding
在触摸的位置实现。
问题:它抛出异常
try {
addresses = geocoder.getFromLocation(latitude, longitude,1);}
catch (IOException e)
{
e.printStackTrace();
if(AppConstants.DEBUG)Log.v(AppConstants.DEBUG_TAG," e.printStackTrace(): "+e.getMessage());
}
我收到latitude
并且longitude
值正确,但我不明白它为什么会抛出exception
,我也做过谷歌搜索,但它无济于事。
谁能详细解释一下??