行业导航初始化m_Navigation2失败 [已关闭]

0 投票

使用产品: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)

8月 29, 2020 分类:  111次浏览 | 用户: 乔小宝 (9 分)
已关闭 8月 31, 2020 用户:董懿鑫
...