Android uses Baidu map to locate

Source: Internet
Author: User

Baidu Map According to Baidu's tutorial always appear error please help me to see the mistake in that2013-12-13 15:16,168 Navy | Category: Baidu map | Browse 1252 times
Java.lang.RuntimeException:Unable to start activity componentinfo{com.example.map/com.example.map.mainactivity}: Android.view.InflateException:Binary XML file line #11: Error inflating class Com.baidu.mapapi.map.MapView

I also have this problem, bmapmanager these two lines, to initialize first, put in front of Setcontentview. The key value in init, for your own.

Http://zhidao.baidu.com/link?url=eNIDG9x-KaRB9QW-wCXP6hro5RUv0HvGIgB9L9Sxnz4oXWocyxWHUJ8rqghAYf_ hetoqpqndoqk0he2fa23wyumvl7dwdxccs2-tkp02t5a

http://blog.csdn.net/xiaanming/article/details/11171581

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.