RuntimeException: Unable to start activity --> Binary XML file line #11: Error inflating class im.delight.android.webview.AdvancedWebView
See original GitHub issueHi… I have an xml using AdvancedWebView but when ever I start activity it crashes with the above exception. Here is complete error:
Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.yaramobile.digitoon/com.yaramobile.digitoon.presentation.player.PlayerActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class im.delight.android.webview.AdvancedWebView
at android.app.ActivityThread.performLaunchActivity + 2666(ActivityThread.java:2666)
at android.app.ActivityThread.handleLaunchActivity + 2727(ActivityThread.java:2727)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage + 1478(ActivityThread.java:1478)
at android.os.Handler.dispatchMessage + 102(Handler.java:102)
at android.os.Looper.loop + 154(Looper.java:154)
at android.app.ActivityThread.main + 6121(ActivityThread.java:6121)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run + 889(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main + 779(ZygoteInit.java:779)
Caused by android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class im.delight.android.webview.AdvancedWebView
Caused by android.view.InflateException: Binary XML file line #11: Error inflating class im.delight.android.webview.AdvancedWebView ```
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
java - android.view.InflateException Error inflating class ...
I started a fresh AVD with lollipop based on a device I found on the crash reporter in GDC, and I can reproduce...
Read more >MessageView not inflating in MessageActivity? - Zendesk help
Unable to start activity ComponentInfo{com.hubhopper/zendesk.messaging.MessagingActivity}: android.view.InflateException: Binary XML file ...
Read more >Meeting SDK - Zoom Developer Forum
Caused by: android.view.InflateException: Binary XML file line #48 in ... RuntimeException: Unable to start activity ...
Read more >delight-im / Android-AdvancedWebView Download - JitPack
AdvancedWebView. Enhanced WebView component for Android that works as intended out of the box. Requirements. Android 2.2+. Installation.
Read more >Android.Views.InflateException: 'Binary XML file line #1 ...
I get the following error when trying to launch after installing SyncFusion. This is madness. SFListView. Android.Views.InflateException: ' ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
solved by this link 30# https://issuetracker.google.com/issues/141132133
I’m getting an inflation error when running UI tests on Android 5.0-5.1 emulators. It looks like it’s because the WebView on the emulator is old (not sure if it can be updated). I think it’s not caused in AdvancedWebView, but rather in androidx or something (haven’t investigated).
I started getting this error when I updated my project dependencies recently (androidx included). I haven’t changed the version of AdvancedWebView though (btw both 3.2.0 and 3.1.3 have the problem).
It works correctly when running it on a 5.0.2 device (or any other) and 6.0 emulator.
Error:
android.view.InflateException: Binary XML file line #23: Error inflating class im.delight.android.webview.AdvancedWebView at android.view.LayoutInflater.createView(LayoutInflater.java:633)