在我的项目谷歌地图显示和一切工作正常,当我运行code直接从Eclipse或机器人工作室,但地图显示白色画面时,我做一个签名的APK安装我的设备。
In my project google map showing and everything working fine when i run code directly from eclipse or android studio, but map showing white screen when i make a signed apk and install my device.
有任何人知道什么可能是这个问题?
Have anyone idea what can be the issue ?
当你犯了一个签名的APK,你必须生成一个新的API密钥的谷歌地图和API控制台更新。与调试APK使用的API密钥将无法正常工作。
When you make a signed APK, you have to generate a new API key for the Google Map and update it in the API console. The API key used with the debug APK will not work.
检查您的logcat,它可能显示了一个授权失败
消息。
Check your logcat, it probably shows an Authorization Failure
message.
上一篇:绘制了在.NET Compact Framework的一个TextBoxCompact、NET、TextBox、Framework
下一篇:ListView控件OnItemClickListener就是不听不听、控件、ListView、OnItemClickListener