Google Geocoder GlsClient状态代码

时间:2013-07-09 10:15:12

标签: android geocoding

我使用以下代码成功使用了Google Geocoder:

Geocoder geoCoder = new Geocoder(this, Locale.getDefault());
try {
    List<Address> addresses = geoCoder.getFromLocationName(search, 5);
    ...
} catch (IOException e) {
...
}

最近它甚至用&#34;巴黎,法国和#34;这样的东西停止了任何结果。它不会抛出任何异常,但会在LogCat中输出失败:

07-09 12:05:06.555: W/GlsClient(720): forwardGeocode(): GLS failed with status 5

我一直在搜索列出可能的失败状态代码的任何文档,但Geocoder API文档没有列出它们,并且似乎没有任何关于&#34; GlsClient&#34;的文档。

有人能指出我正确的方向吗?

0 个答案:

没有答案