写点什么

AndroidX,斗鱼直播 Android 开发二面被刷

用户头像
Android架构
关注
发布于: 刚刚

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)


at android.os.Handler.dispatchMessage(Handler.java:102)


at android.os.Looper.loop(Looper.java:135)


at android.app.ActivityThread.main(ActivityThread.java:5280)


at java.lang.reflect.Method.invoke(Native Method)


at java.lang.reflect.Method.invoke(Method.java:372)


at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963)


at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)


Caused by: android.view.InflateException: Binary XML file line #5: Error inflating class android.webkit.WebView


at android.view.LayoutInflater.createView(LayoutInflater.java:633)


at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:55)


at android.view.LayoutInflater.onCreateView(LayoutInflater.java:682)


at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)


at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)


at android.view.LayoutInflater.inflate(LayoutInflater.java:504)


at android.view.LayoutInflater.inflate(LayoutInflater.java:414)


at android.view.LayoutInflater.inflate(LayoutInflater.java:365)


at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555)


at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:161)


at com.example.webview.TestWebViewAct.onCreate(TestWebViewAct.java:16)


at android.app.Activity.performCreate(Activity.java:6222)


at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)


at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2295)


at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2407)


at android.app.ActivityThread.access$800(ActivityThread.java:151)


at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)


at android.os.Handler.dispatchMessage(Handler.java:102)


at android.os.Looper.loop(Looper.java:135)


at android.app.ActivityThread.main(ActivityThread.java:5280)


at java.lang.reflect.Method.invoke(Native Method)


at java.lang.reflect.Method.invoke(Method.java:372)


at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963)


at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja


《Android学习笔记总结+最新移动架构视频+大厂安卓面试真题+项目实战源码讲义》
浏览器打开:qq.cn.hn/FTe 免费领取
复制代码


va:758)


Caused by: java.lang.reflect.InvocationTargetException


at java.lang.reflect.Constructor.newInstance(Native Method)


at java.lang.reflect.Constructor.newInstance(Constructor.java:288)


at android.view.LayoutInflater.createView(LayoutInflater.java:607)


at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:55)


at android.view.LayoutInflater.onCreateView(LayoutInflater.java:682)


at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)


at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)


at android.view.LayoutInflater.inflate(LayoutInflater.java:504)


at android.view.LayoutInflater.inflate(LayoutInflater.java:414)


at android.view.LayoutInflater.inflate(LayoutInflater.java:365)


at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555)


at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:161)


at com.example.webview.TestWebViewAct.onCreate(TestWebViewAct.java:16)


at android.app.Activity.performCreate(Activity.java:6222)


at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)


at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2295)


at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2407)


at android.app.ActivityThread.access$800(ActivityThread.java:151)


at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)


at android.os.Handler.dispatchMessage(Handler.java:102)


at android.os.Looper.loop(Looper.java:135)

用户头像

Android架构

关注

还未添加个人签名 2021.10.31 加入

还未添加个人简介

评论

发布
暂无评论
AndroidX,斗鱼直播Android开发二面被刷