LoginSignup
2
2

More than 5 years have passed since last update.

[Android]AndroidでGeocoderを利用しようとして、java.io.IOException: Service not Availableになった

Posted at

Android アプリで位置情報の緯度経度を取得後、住所を得るため、Geocoder クラスを利用。
Geocoder.java
public List<Address> getFromLocation(~)

java.io.IOException : Service not Availableになって、住所が取得できない...
一定の確率?で起こりうることらしく、端末を再起動したら治った。
端末はNexus6P、Android6.0

以下リンクより
Android Geocoder を利用しようとすると java.io.IOException Service not Availableになる
stackoverflow

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2