首页 / 浏览问题 / 移动GIS / 问题详情
行业导航初始化m_Navigation2失败
10EXP 2020年08月29日

使用产品:imoblie 10i     android10

运行示例程序行业导航时,初始化m_Navigation2失败

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.daohangapp, PID: 18416
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.daohangapp/com.example.daohangapp.MainActivity}: android.view.InflateException: Binary XML file line #20 in com.example.daohangapp:color/abc_background_cache_hint_selector_material_dark: Binary XML file line #20 in com.example.daohangapp:color/abc_background_cache_hint_selector_material_dark: Error inflating class ImageView
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3895)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4074)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
        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:2473)
        at android.os.Handler.dispatchMessage(Handler.java:110)
        at android.os.Looper.loop(Looper.java:219)
        at android.app.ActivityThread.main(ActivityThread.java:8347)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)

...