Question Detail

Error inflating class TextView Android 5.1.1, 6.1.0, 8.1.0 : android.view.InflateException: Binary XML file line #10: Binary XML file line #9: Error inflating class TextView

10 months ago Views 387 Visit Post Reply

Error inflating class TextView when I use the app in these Android version 5.1.1, 6.1.0, 8.1.0 .

I am not sure what is the issue or bug with these android versions rest of the versions are all working fine for my app.

Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app.AppPackage/com.app.fragment.settings.lanPackage.LanSettingsActivity}: android.view.InflateException: Binary XML file line #10: Binary XML file line #9: Error inflating class TextView
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2789)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2872)
       at android.app.ActivityThread.-wrap11()
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1595)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6543)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:810)


Thread Reply