Baidu map API prompt & quot; 230 error APP Scode Verification Failed & quot;, apiscode

Source: Internet
Author: User

Baidu map API prompts "230 error APP Scode Verification Failed", apiscode

I played Baidu map on Android Studio in the last two days and encountered a common "230 error APP Scode Verification Failed". Next I will introduce the specific solution.

1. Deploy Baidu MAP standards on andriodstudio. decompress the downloaded SDK and switch it to the Project view. Copy the following three files to the libs file.

Compile files ('libs/BaiduLBS_Android.jar ').

3. Go to the Baidu developer page to apply for an AK. (For detailed steps, see the official documentation ).

4. The SHA1 code for applying for an AK is as follows:

5. When you write the program to run the App, The Logcat output information is as follows:

 

Sha1 is totally different from sha1 when I apply for an AK. all maps only display square grids without map loading. the system prompts "230 error APP Scode Verification Failed ". go to the API console to modify the SHA1 and Logcat correspondence. The map is loaded successfully.

 

Demo address: BaiduMapTest.

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.