java io ioexception unable to parse response from server geocoder

前端 未结 5 904
-上瘾入骨i
-上瘾入骨i 2020-12-16 01:33

I am using this code to get geographical addresses:

private String getAddress(Location location)
{
    try{
        List
addresses = new Geo
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-16 02:19

    I was getting the same problem. i added this permission

    android.permission.WRITE_EXTERNAL_STORAGE

    and it worked well.

提交回复
热议问题