Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个使用 Maps API 的应用程序。当我使用我的 Nexus 7 从 Eclipse 运行应用程序时,应用程序工作正常并且地图加载。
导出应用程序后,我安装了 .apk 文件,但在启动时地图未加载。
为什么会发生这种情况?
谢谢你。
您需要将 Maps API 密钥更改为生产而不是调试。如果您使用的是版本 2,则密钥位于 Manifest 文件中。