开发者

Android Geocode error:java.io.IOException on emulator, SDK 2.3

开发者 https://www.devze.com 2023-02-10 01:05 出处:网络
I want to use GeoCoder class in my app. I followed the steps as in this question How can I find the latitude and longitude from address?

I want to use GeoCoder class in my app. I followed the steps as in this question

How can I find the latitude and longitude from address?

but received the error: java.io.IOException in the开发者_Go百科 emulator, despite I included the required permissions.

I'm using Google APIs 2.3.1 API level 9.

Is there a solution for this ?


OK, I got it. It's a bug in the emulator of sdk 9. I switched the target to sdk 2.1 and it worked.

0

精彩评论

暂无评论...
验证码 换一张
取 消