在 Google Play 商店上传签名的 apk 时使用其他帐户
他们在地图方面没有错误.我已经使用 release keystore 对 apk 进行了签名,
Their is no bug with regard to the maps. I already signed the apk with release keystore ,
API 密钥已在我的帐户中注册
the API Keys are registered in my account
它在任何设备上都能完美运行.
It perfectly works in any devices.
问题是在google play store 用客户账号上传的时候并下载到他们的设备中,地图显示为白色.
What's the problem is when it is uploaded with the client account in google play store and downloaded in their device, the map displays white.
问题:
1.API key注册到我的账户,上传的不是我的账户,对申请有影响吗?
1.Does it affect the application if the API keys are registered to my account and the one who upload the app is not my account ?
答案:
API 密钥与 apk 包相关联,它是密钥库而不是用户帐户.
The API key is associated with the apk package and it's keystore and not a user account.
首先,您需要为您的应用创建一个密钥库.参考 http://developer.android.com/tools/publishing/app-signing.html
First you need to create a keystore for you app. Refer to http://developer.android.com/tools/publishing/app-signing.html
接下来转到 https://console.developers.google.com/project 并创建一个项目(如果还没有).
Next go to https://console.developers.google.com/project and create a project (if don't have one already).
在您的项目页面上,转到 API 的 &身份验证 > API 启用 Google Maps Android API v2
On your project page go to API's & auth > APIs enable Google Maps Android API v2
接下来转到 API 的 &auth > Credentials 并为 Android 应用程序创建一个新的密钥.仔细按照这些说明操作,它会为您生成一个 API 以在您的清单上使用.(请记住使用您用于为 Play 商店签名应用程序的密钥库,而不是您的调试密钥库)
Next go to API's & auth > Credentials and create a new Key for Android applications. Follow those instructions careful and you it will generate you an API to use on your manifest. (Remember to use the keystore you used to sign your app for play store and not your debug keystore)
更多信息:
https://developers.google.com/console/help/new/#生成开发密钥
祝你好运