Geocoder error java.io.IOException: Unable to parse response from server

后端 未结 1 2021
自闭症患者
自闭症患者 2021-02-15 11:47

Code:

Geocoder geocoder = new Geocoder(map.this,Locale.getDefault());
List
list = geocoder.getFromLocation(geoLat, geoLng, 1);
1条回答
  •  长发绾君心
    2021-02-15 12:25

    This kind of error shows up when the GPS is not active. Since the emulator doesnt have a GPS hardware, similar exception can be thrown. Cant say for sure unless you post more detail about the problem.

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