【问题标题】:Use debug API key over ADB with eclipse通过 Eclipse 使用 ADB 上的调试 API 密钥
【发布时间】:2014-10-08 13:03:56
【问题描述】:

我正在尝试在我的应用中使用 Google 地图。我创建了一个保存在 debug.keystore 中的调试证书。我在 code.google.com 上注册了它(使用正确的项目包)并将 api 密钥复制到 android 清单。我有所有需要的权限,我使用

 <uses-feature
    android:glEsVersion="0x00020000"
    android:required="true" />

我有

<meta-data android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />

当我使用 ADB 在我的设备上安装应用程序时(使用 eclipse android 插件和开始按钮),我仍然收到错误消息。我该如何解决这个问题(我已经多次检查了证书和 api 密钥)?

【问题讨论】:

  • 等等。我现在只看到 google 标志和加号和减号按钮,正在发布日志。

标签: android eclipse google-maps google-play-services api-key


【解决方案1】:

感谢 cmets。我在尝试复制日志时立即发现了错误。 (经过 1 小时搜索)

问题是我更改了我的包名。在 logcat 中,我看到在 Android 清单中,包含一个不同的包名称。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-10-31
    • 2020-10-15
    • 2015-07-31
    • 2012-01-27
    • 1970-01-01
    相关资源
    最近更新 更多