How to create release key for android v2 maps

与世无争的帅哥 提交于 2019-12-06 14:12:20

I didn't had the chance of doing that, but for my understanding what should be done is:

1. First of all you will need to export you project as a Signed Application:

Right click your project -> Android Tools -> Export Signed Application Package...

This will take you through wizard where you would have to create a new release.keystore with a password or use an existing one you created before.

2. From this point on the process should be identical to the one where you use the debug.keystore.

3. All the steps of creating a debug api key and registering it in Google API Console are described at this blog post I wrote:

Google Maps API V2 Key

4. Just remember that using the debug.keystore will not give you desired result.

Tyr this.. your directory where you have installed java and go to the bin folder.

For example-

C:\Program Files\Java\jdk_your_version\bin>keytool -list -v -keystore C:\Users\your_user_name\.a
ndroid\debug.keystore -storepass android -keypass android

i think it might help you.

C:\Program Files\Java\jdk_your_version\bin>keytool.exe -list -v -alias androiddebugkey -keystore C:\Users\your_user_name\.android\(Application).keystore -storepass YOUR_STORE_PASSWORD -keypass KEY_PASSWORD

Generally YOUR_STORE_PASSWORD and KEY_PASSWORD are same is "android".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!