FAQs about android Baidu map sdk Configuration

Source: Internet
Author: User

FAQs about android Baidu map sdk Configuration

1. You cannot create <MapView> when creating the map xml on the simulator. You need to create <TexturemapView>.

2. When obtaining the key of Baidu map, note that the SHA1 and package names are the same as those of the created package, in android Studio, because the package name can be modified, you need to go to build. view in Gradle

The package name in the red underline must be the same as the filled package name,

 

 

In addition, the SHA1 retrieval may be different from the real SHA1, and the Authentication Error errorcode: 230 uid:-1 appid-1 msg: APP Scode verification fails.

The following steps are required:

Then compare your SHA1 with the one obtained above to see if the SHA1 is the same. If the SHA1 is different, use the one obtained above to go to the page generated by your Baidu key to generate a new one. This problem should be solved later.

 

I hope this will be helpful to you.

Related Article

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.