刘建广

博客园 首页 联系 订阅 管理
安卓异常问题: 
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包未导入
posted on 2014-09-09 14:24  刘建广  阅读(288)  评论(0编辑  收藏  举报