Android Studio Baidu Map Demo 230 error, key check failed

Source: Internet
Author: User
Tags sha1

Transferred from Daoxiaomianzi original Android studio Baidu Map Demo appeared 230 error, key check failed

Use Androidstudio import Baidu Map as version of the demo, after introduction, found no key, so to Http://lbsyun.baidu.com/apiconsole/key, create applications, apply key, But after the SHA1 and registration are entered, the key is copied into the Manifest.xml, deployed to the phone, prompted: validation error, error code: 230, please check the Kye settings in the Androidmanifest.xml file .

"Workaround"
Your SHA1 value is obtained through the default KeyStore file, so it cannot be used. Because Baidu Map demo need to use their own KeyStore file, can be in the demo Baidumap_androidsdk_v5.1.0_sample\baidumapsapiasdemo\app Folder found under the Debug.keystore file, you can delete this copy of your own. Android folder under the Debug.keystore file. Build again, re-run, sure enough, record it.

Android Studio Baidu Map Demo 230 error, key check failed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.