How can get google map v2 api key for teamwork

巧了我就是萌 提交于 2019-12-10 17:19:36

问题


Sorry my english not good

I have a probleam with google map api v2 key. I work with my team. and we need just a one api key for us project (android project). is it posible? or all member of my team must generate api key to run google map ?


回答1:


You can share the same API key, provided that you're signing the app with the same .apk signing key.

By default the debug.keystore that is used for signing debug versions of your app is auto-generated by the tools and it's different for each installation. You'll need to share debug.keystore file between your team members and configure your tools to use it. In Eclipse it is configured in Preferences -> Android -> Build -> Custom debug keystore.

Of course, you'll need another API key for the app version signed for release.




回答2:


use this command to generate the SHA Key

 C:\Program Files\Java\jdk1.6.0_20\bin>keytool.exe -list -v -alias androiddebugkey -keystore C:\Users\DON\.android\debug.keystore -storepass android -keypass android  

DON , my system name ok.

 and follow this tutorial 
 http://www.vogella.com/articles/AndroidGoogleMaps/article.html


 and further  more  u want
https://developers.google.com/maps/documentation/android/
https://developers.google.com/maps/documentation/javascript/v2/ 


来源:https://stackoverflow.com/questions/18139875/how-can-get-google-map-v2-api-key-for-teamwork

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