Quantcast
Channel: 看雪安全论坛
Viewing all articles
Browse latest Browse all 9556

【原创】申请google map api key方法

$
0
0
1.生SHA1密钥
首先找到debug keystore位置:
  打开Eclipse--->Windows--->Preferences--->Android--->Build
一般是这样的路径 C:\Documents and Settings\Administrator\.android\debug.keystore
2.在cmd中执行
c:\jdk\bin\>keytool -v -list -alias androiddebugkey -keystore "C:\Documents and Settings\Administrator\.android\debug.keystore"
 
2.申请Android Map 的API Key
打开Google APIs Console: https://code.google.com/apis/console/ ;
create project and named it;
find and enabled google map api v2 in 'services';
click 'create new android key' in 'api access';
input sha1密钥和工程包名称,用分号隔开(例如:SHA1;my.package.name);

Viewing all articles
Browse latest Browse all 9556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>