java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.deepaksingh.fragment2/com.example.deepaksingh.fragment2.MainActivity}: android.view.InflateException: Binary XML file line #6: Binary XML file line #9: Binary XML file line #9: Error inflating class Textview

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Deepak Singh
, 1 year ago
Unable to start activity ComponentInfo{com.example.deepaksingh.fragment2/com.example.deepaksingh.fragment2.MainActivity}: android.view.InflateException: Binary XML file line #6: Binary XML file line #9: Binary XML file line #9: Error inflating class Textview
via Stack Overflow by Abstract3000
, 1 year ago
Unable to start activity ComponentInfo{com.example.****.testfragment2/com.example.****.testfragment2.MainActivity}: android.view.InflateException: Binary XML file line #9: Binary XML file line #9: Error inflating class fragment
via GitHub by jerdog
, 7 months ago
Unable to start activity ComponentInfo{com.hypertrack.example_android/com.hypertrack.example_android.UserMapActivity}: android.view.InflateException: Binary XML file line #9: Binary XML file line #34: Binary XML file line #34: Error inflating class fragment
via Stack Overflow by Rohan
, 10 months ago
Unable to start activity ComponentInfo{com.example.rohan.weatherapp/com.example.rohan.weatherapp.MapActivity}: android.view.InflateException: Binary XML file line #9: Binary XML file line #9: Error inflating class com.hamweather.aeris.maps.AerisMapView
via Stack Overflow by ragtime.sp
, 8 months ago
Unable to start activity ComponentInfo{com.example.test.test/com.example.test.test.MainActivity}: android.view.InflateException: Binary XML file line #9: Binary XML file line #9: Error inflating class fragment
via Stack Overflow by Charles Chibueze
, 1 week ago
Unable to start activity ComponentInfo{com.lemuel.lemubit.bakenow/com.lemuel.lemubit.bakenow.RecipeDetail}: android.view.InflateException: Binary XML file line #9: Binary XML file line #9: Error inflating class fragment
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.deepaksingh.fragment2/com.example.deepaksingh.fragment2.MainActivity}: android.view.InflateException: Binary XML file line #6: Binary XML file line #9: Binary XML file line #9: Error inflating class Textview
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

144 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
3 times, 11 months ago
32 times, 1 year ago
23 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.