开发者

Geocoder error java.io.IOException: Unable to parse response from server

Code:

开发者_如何学C
Geocoder geocoder = new Geocoder(map.this,Locale.getDefault());
List<Address> list = geocoder.getFromLocation(geoLat, geoLng, 1);

Exception:

java.io.IOException: Unable to parse response from server

What am I doing wrong?


This kind of error shows up when the GPS is not active. Since the emulator doesnt have a GPS hardware, similar exception can be thrown. Cant say for sure unless you post more detail about the problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜