zoukankan      html  css  js  c++  java
  • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hbsjz/com.hbsjz.BaseMapActivity}:

    安卓异常问题: 
    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包未导入
  • 相关阅读:
    六、springboot集成Swagger2
    五、springboot单元测试
    四、Springboot Debug调试
    三、springboot热部署
    二、springboot配置
    一、springboot入门
    SpringBoot整合RabbitMQ
    消息总线
    分布式配置
    路由网关---zuul
  • 原文地址:https://www.cnblogs.com/bailuobo/p/3962587.html
Copyright © 2011-2022 走看看