Geocoder.getFromLocation grpc failed on Android real device

前端 未结 9 637
故里飘歌
故里飘歌 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:49

    Check your internet connection . what is going on is at some point between the search and the results rendering , the connection is either to slow or not working at all . so the default error is no GRCP found. your code needs to handle this type of errors and prevent the crash of the map

提交回复
热议问题