您的位置:首页 > 编程语言 > Java开发

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hbsjz/com.hbsjz.BaseMapActivity}:

2014-09-09 14:24 615 查看
安卓异常问题:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hbsjz/com.hbsjz.BaseMapActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class com.navinfo.sdk.mapapi.map.MapView

layout中XML文件-activity_basemap.xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >

<com.navinfo.sdk.mapapi.map.MapView  
android:id="@+id/bmap"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true"
/>

</LinearLayout>

报错位置 :com.navinfo.sdk.mapapi.map.MapView

简单问题已经解决:android-support-v4.jar包未导入
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐