当前位置:   article > 正文

Error inflating class com.baidu.mapapi.map.MapView

error inflating class com.baidu.mapapi.map.mapview

MapView 引起手机卡顿,黑屏,并且会报如下错误信息:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.soft.he/com.software.sign.ui.activity.MatchDetailActivity}: android.view.InflateException: Binary XML file line #1123 in com.soft.he:layout/activity_matevent_detail: Binary XML file line #1123 in com.soft.he:layout/activity_matevent_detail: Error inflating class com.baidu.mapapi.map.MapView
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3763)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3937)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2288)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loopOnce(Looper.java:210)
        at android.os.Looper.loop(Looper.java:299)
        at android.app.ActivityThread.main(ActivityThread.java:8293)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
     Caused by: android.view.InflateException: Binary XML file line #1123 in com.soft.he:layout/activity_matevent_detail: Binary XML file line #1123 in com.soft.he:layout/activity_matevent_detail: Error inflating class com.baidu.mapapi.map.MapView
     Caused by: android.view.InflateException: Binary XML file line #1123 in com.soft.he:layout/activity_matevent_detail: Error inflating class com.baidu.mapapi.map.MapView
     Caused by: java.lang.reflect.InvocationTargetException
        at java.lang.reflect.Constructor.newInstance0(Native Method)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
        at android.view.LayoutInflater.createView(LayoutInflater.java:881)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1033)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:988)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:1150)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1111)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:1153)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1111)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:1153)
       

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/235517
推荐阅读
相关标签
  

闽ICP备14008679号