一个已解决的BUG

发布于:2023-02-17 ⋅ 阅读:(536) ⋅ 点赞:(0)

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.esri.lcdx.online, PID: 17281
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.esri.lcdx.online/com.esri.lcdx.online.ZhenCha.BusLineSearchDemo}: android.view.InflateException: Binary XML file line #76 in com.esri.lcdx.online:layout/activity_busline: Binary XML file line #76 in com.esri.lcdx.online:layout/activity_busline: Error inflating class com.baidu.mapapi.map.MapView
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4260)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4463)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:111)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2665)
        at android.os.Handler.dispatchMessage(Handler.java:109)
        at android.os.Looper.loopOnce(Looper.java:206)
        at android.os.Looper.loop(Looper.java:296)
        at android.app.ActivityThread.main(ActivityThread.java:8906)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:976)
     Caused by: android.view.InflateException: Binary XML file line #76 in com.esri.lcdx.online:layout/activity_busline: Binary XML file line #76 in com.esri.lcdx.online:layout/activity_busline: Error inflating class com.baidu.mapapi.map.MapView
     Caused by: android.view.InflateException: Binary XML file line #76 in com.esri.lcdx.online:layout/activity_busline: 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:890)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1042)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:997)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:1159)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1120)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:1162)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1120)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:708)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:552)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:499)
        at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:696)
        at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:170)
        at com.esri.lcdx.online.ZhenCha.BusLineSearchDemo.onCreate(BusLineSearchDemo.java:57)
        at android.app.Activity.performCreate(Activity.java:8413)
        at android.app.Activity.performCreate(Activity.java:8392)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1343)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4231)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4463)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:111)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2665)
        at android.os.Handler.dispatchMessage(Handler.java:109)
        at android.os.Looper.loopOnce(Looper.java:206)
        at android.os.Looper.loop(Looper.java:296)
        at android.app.ActivityThread.main(ActivityThread.java:8906)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
E/AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:976)
     Caused by: java.lang.UnsatisfiedLinkError: No implementation found for int com.baidu.mapsdkplatform.comjni.tools.JNITools.initClass(java.lang.Object, int) (tried Java_com_baidu_mapsdkplatform_comjni_tools_JNITools_initClass and Java_com_baidu_mapsdkplatform_comjni_tools_JNITools_initClass__Ljava_lang_Object_2I)
        at com.baidu.mapsdkplatform.comjni.tools.JNITools.initClass(Native Method)
        at com.baidu.mapsdkplatform.comjni.tools.a.b(AppTools.java:104)
        at com.baidu.mapsdkplatform.comapi.a.<clinit>(BMapManagerInternal.java:242)
        at com.baidu.mapsdkplatform.comapi.a.a(BMapManagerInternal.java:41)
        at com.baidu.mapapi.BMapManager.getContext(BMapManager.java:20)
        at com.baidu.mapsdkplatform.comapi.map.j.<clinit>(EngineManager.java:41)
        at com.baidu.mapsdkplatform.comapi.map.j.a(EngineManager.java:57)
        at com.baidu.mapapi.map.MapView.a(MapView.java:405)
        at com.baidu.mapapi.map.MapView.<init>(MapView.java:149)
            ... 31 more
I/Process: Sending signal. PID: 17281 SIG: 9

本文含有隐藏内容,请 开通VIP 后查看