java.lang.RuntimeException

Unable to start activity ComponentInfo{com.timemap/com.timemap.rendezvous.contacts.Contacts_new}: android.view.InflateException: Binary XML file line #28: Error inflating class android.support.v7.widget.SearchView

Solutions on the web53059

  • via Stack Overflow by young_08
    , 1 year ago
    Unable to start activity ComponentInfo{com.timemap/com.timemap.rendezvous.contacts.Contacts_new}: android.view.InflateException: Binary XML file line #28: Error inflating class android.support.v7.widget.SearchView
  • Unable to start activity ComponentInfo{com.example.turbo/com.example.turbo.Chapter}: android.view.InflateException: Binary XML file line #28: Error inflating class android.support.v7.widget.GridLayout
  • via Stack Overflow by Irmaan
    , 9 months ago
    Unable to start activity ComponentInfo: android.view.InflateException: Binary XML file line #7: Error inflating class android.support.v7.widget.RecyclerView
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.timemap/com.timemap.rendezvous.contacts.Contacts_new}: android.view.InflateException: Binary XML file line #28: Error inflating class android.support.v7.widget.SearchView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413) at android.app.ActivityThread.startActivityNow(ActivityThread.java:2201) at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:135) at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:347) at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:761) at android.widget.TabHost.setCurrentTab(TabHost.java:425) at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:156) at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:741) at android.view.View.performClick(View.java:4654) at android.view.View$PerformClick.run(View.java:19438) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5602) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #28: Error inflating class android.support.v7.widget.SearchView at android.view.LayoutInflater.createView(LayoutInflater.java:626) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at android.view.LayoutInflater.inflate(LayoutInflater.java:354) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:366) at android.app.Activity.setContentView(Activity.java:2031) at com.timemap.rendezvous.contacts.Contacts_new.onCreate(Contacts_new.java:43) at android.app.Activity.performCreate(Activity.java:5451) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377) ... 18 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createView(LayoutInflater.java:600) ... 30 more Caused by: android.view.InflateException: Binary XML file line #97: Error inflating class <unknown> at android.view.LayoutInflater.createView(LayoutInflater.java:626) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at android.support.v7.widget.SearchView.<init>(SearchView.java:289) at android.support.v7.widget.SearchView.<init>(SearchView.java:275) ... 33 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createView(LayoutInflater.java:600) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at android.support.v7.widget.SearchView.<init>(SearchView.java:289) at android.support.v7.widget.SearchView.<init>(SearchView.java:275) at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createView(LayoutInflater.java:600) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at android.view.LayoutInflater.inflate(LayoutInflater.java:354) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:366) at android.app.Activity.setContentView(Activity.java:2031) at com.timemap.rendezvous.contacts.Contacts_new.onCreate(Contacts_new.java:43) at android.app.Activity.performCreate(Activity.java:5451) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377) at android.app.ActivityThread.startActivityNow(ActivityThread.java:2201) at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:135) at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:347) at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:761) at android.widget.TabHost.setCurrentTab(TabHost.java:425) at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:156) at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:741) at android.view.View.performClick(View.java:4654) at android.app.ActivityThread.main(ActivityThread.java:5602) at java.lang.reflect.Method.invokeNative(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 6 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    4 times, 4 months ago
    Unknown user
    Once, 6 months ago
    41 more bugmates