cmd打开dos窗口输入
keytool -list -v -keystore "C:Usersjack.androiddebug.keystore"
输入密钥库口令,默认为空,直接enter。得到debug.keystore的SHA1密文,默认为59:EC:E4:95:7C:77:6C:FA:17:80:6C:E9:24:54:7F:55:3B:C0:AF:D4
http://lbsyun.baidu.com/apiconsole/key/create?qq-pf-to=pcqq.c2c中安全码由SHA1+;+包名组成,填写完整信息进入下一步,获取"访问应用(AK)"作为value值填入
<meta-data
android:name="com.baidu.lbsapi.API_KEY"
android:value="2G9SfCW4TGTyr5iZRXF444EU" />