安卓异常问题:
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包未导入