Google Maps V2 ã® API key ã¯ãããã°çã¨ãªãªã¼ã¹çã®ä¸¡æ¹ã«ä½¿ãã
ãAndroidã¢ããªã§Google Maps V2 API ã使ãã«ã¯ãAndroidManifest.xml ã®ä¸ã«ãAPI keyãè¨è¿°ããå¿ è¦ãããã
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" />
ããããã°çã¨ãªãªã¼ã¹ç㧠API key ã使ãåããã«ã¯ã©ãããã°ç°¡åã«ã§ããã®ãããããã«ããã£ã¦ãããåä¸ã® API key ã§ãããã°çã¨ãªãªã¼ã¹çã®ä¸¡æ¹ã§ä½¿ç¨å¯è½ã ã¨ãããã¨ãããã£ãã
With version 2 API's you can use the same key for release and debug. In your google api's console edit your allowed android apps and on each line put your debug/release key, and then your app name. You can use multiple lines, then it will work with both keys.
Android Google Maps v2 - Debug key vs Release key - Stack Overflow
ããããã¿ã¦ã人ã¯ãGoogle APIs Console ã® Simple API Access ã® Key for Android apps (with certificates) ã®ã¨ããã§ãæ¢ã«ãããã°çã® API key ãä½ææ¸ã¿ã ã¨æãã®ã§ãä½ãæ¹ã«ã¤ãã¦ã¯ãã¹ã
ãå³å´ã®ãEdit allowed Android apps...ããã¯ãªãã¯ãã¦ãããã°çã®SHA1ã®æ«å°¾ã§æ¹è¡ãã¦ããããã°çã®SHA1ã¨ããã±ã¼ã¸åãæ¸ãã°ãããããã
ãããã ãã§ãã£ããåãããã«ãªã£ãããµã³ãã«ç»åã¯2è¡ã¨ãåãå 容ã ãã©ãå®éã«ã¯ãããã°çã¨ãªãªã¼ã¹çã§SHA1ãç°ãªãå¤ã«ãªãã