Geocoder grpc failed

后端 未结 3 1959
情话喂你
情话喂你 2021-02-07 11:14

Last month of so geocoder has started to fail every time with \"grpc failed\" error and I can\'t seem to be able to solve it. I\'ve looked at java.io.IOException: grpc failed bu

3条回答
  •  没有蜡笔的小新
    2021-02-07 11:28

    The problem may be that you are trying to use Geocoder in the main thread, if you are using an IntentService you have this URL option to create in another process although you can always use an Asynctask or similar.

提交回复
热议问题