开发者

Google maps doesn't work on the HTC?

开发者 https://www.devze.com 2022-12-17 17:15 出处:网络
I am developing application with Google Map. I\'ve tested on the emulator and saw error line In the log:

I am developing application with Google Map.

I've tested on the emulator and saw error line In the log:

01-23 16:04:28.453: ERROR/MapActivity(733): Couldn't get connection factory client

But it worked fine on the emulator.

Then I've signed the application and created its .apk file. I've put it on the web server downloaded and installed it on the real device (it is HTC with Verizon).

But my application didn't appear google maps on the device. I've checked API key and other configuration. Everything was ok. But google maps didn't work.

H开发者_JAVA技巧ave you faced to problem same as mine ?

Please suggest.

Thanks in advance.


Sounds like the maps API key you are using is not associated with the certificate you are signing the application with.

You will typically need to register for two maps API keys - one associated with the debug certificate that automatically signs each build that you deploy to the emulator during development, and another associated with your production certificate that you sign your APK with prior to publishing on the market.

http://code.google.com/android/add-ons/google-apis/mapkey.html

0

精彩评论

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

关注公众号