java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dutt.rishabh.locator/com.dutt.rishabh.locator.MapsActivity}: android.view.InflateException: Binary XML file line #4: Error inflating class fragment

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 Rishabh
, 1 year ago
Unable to start activity ComponentInfo{com.dutt.rishabh.locator/com.dutt.rishabh.locator.MapsActivity}: android.view.InflateException: Binary XML file line #4: Error inflating class fragment
via Stack Overflow by JamesCgrave
, 2 years ago
Unable to start activity ComponentInfo{com.test.finalproject/com.test.finalproject.GoogleMaps}: android.view.InflateException: Binary XML file line #16: Error inflating class fragment
via Stack Overflow by Crifano Stefano
, 1 year ago
Unable to start activity ComponentInfo{com.crifano.tatooPhoto/com.crifano.tatooPhoto.ui.MainActivity}: android.view.InflateException: Binary XML file line #78: Error inflating class fragment
via Stack Overflow by Shehzad Khan
, 9 months ago
Unable to start activity ComponentInfo{com.example.asad.homebuyerproject/com.example.asad.homebuyerproject.Property_Located_Activity}: android.view.InflateException: Binary XML file line #128: Error inflating class fragment
via Stack Overflow by Thomas Brown
, 2 years ago
Unable to start activity ComponentInfo{com.example.mapdemo/com.example.mapdemo.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
via Stack Overflow by 4mahmoud
, 2 years ago
Unable to start activity ComponentInfo{com.mahmoud.android.MoadenLibya/com.mahmoud.android.MoadenLibya.Mosque.Mosque}: android.view.InflateException: Binary XML file line #7: Error inflating class fragment
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dutt.rishabh.locator/com.dutt.rishabh.locator.MapsActivity}: android.view.InflateException: Binary XML file line #4: Error inflating class fragment
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.app.Activity.setContentView(Activity.java:1948)
at com.dutt.rishabh.locator.MapsActivity.onCreate(MapsActivity.java:20)
at android.app.Activity.performCreate(Activity.java:5343)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)

Users with the same issue

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 9 months ago

Write tip

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