Geocoder.getFromLocation grpc failed on Android real device

前端 未结 9 621
故里飘歌
故里飘歌 2020-12-14 17:14

I need to get the city and state from latitude and longitude. Geocoder does this function to get the city and state. But I am getting an error java.io.IOException: grp

相关标签:
9条回答
  • 2020-12-14 17:53

    What I did was, I changed my accuracy to GPS only, in this case, the application was not calculating my location. I again changed the accuracy to high accuracy and the application started working, no crash at all. you can change your GPS accuracy from location setting on your android mobile.

    0 讨论(0)
  • 2020-12-14 17:53

    Using an emulator. I had to update the Google Play Services on the device and then it worked!

    0 讨论(0)
  • 2020-12-14 18:01

    Happened for me both with a real and an emulated device. Solved my restarting the app after cleaning the project

    0 讨论(0)
提交回复
热议问题