java.lang.RuntimeException: Unable to start activity ComponentInfo{package_name/activities.MainActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class ru.yandex.yandexmapkit.MapView

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

,

This is a checked exception that wraps an exception thrown by an invoked method or constructor. You can use the getCause() method to retrieve the original exception.

Solutions on the web

via GitHub by dimmitriy
, 1 year ago
Unable to start activity ComponentInfo{package_name/activities.MainActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class ru.yandex.yandexmapkit.MapView
via Stack Overflow by Markus Olszewski
, 2 years ago
Unable to start activity ComponentInfo{com.stackoverflow.question/activities.MainActivity}: android.view.InflateException: Binary XML file line #158: Error inflating class android.support.v7.widget.RecyclerView
via Xamarin Bugzilla by david.thornley, 1 year ago
Unable to start activity ComponentInfo{com.companyname.test/md5cdc4636fb26ffe0d36b110f63734d668.MainActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class testinflateexception.CustomPreference
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.t.y/com.t.y.activity.SelectLocationActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class fragment
via blogspot.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.liquidink.lollipopmaterialui/com.liquidink.lollipopmaterialui.CardListActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class RecyclerView
java.lang.reflect.InvocationTargetException:
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:611)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:747)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:810)
at android.view.LayoutInflater.inflate(LayoutInflater.java:508)
at android.view.LayoutInflater.inflate(LayoutInflater.java:418)
at fragments.child_fragments.SearchMapFragment.onCreateView(SearchMapFragment.java:46)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:2074)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1671)
at android.support.v4.app.Fragment.performStart(Fragment.java:2096)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1142)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1268)
at android.support.v4.app.FragmentManagerImpl.dispatchStart(FragmentManager.java:2148)
at android.support.v4.app.FragmentController.dispatchStart(FragmentController.java:212)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1228)
at android.app.Activity.performStart(Activity.java:5991)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2429)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2528)
at android.app.ActivityThread.access$800(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5552)
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:964)

Users with the same issue

48 times, 3 months ago
4 times, 10 months ago
Once, 1 year ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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