各位大侠,我在编写一个地图程序(通过地址反查坐标),其中有一段代码如下:private void findByAddress(String addre)
    {
     Geocoder gc1=new Geocoder(this);
        try
        {
         List<Address> addr=gc1.getFromLocationName(addre,1);
           Address addres=addr.get(0);
            double Latitude = addres.getLatitude();
            double Longitude = addres.getLongitude();
            updateSearchLocation(Latitude,Longitude);
            }catch(IOException e){}
    }程序运行正常,但是没返回结果。通过调试得知在这段代码里执行完这句以后
List<Address> addr=gc1.getFromLocationName(addre,1);就直接跳到了catch(IOException e)语句,在调试中addre赋值正常请问这是怎么回事?