android.view.InflateException: Binary XML file line #116: Binary XML file line #116: Error inflating class android.widget.DatePicker

Stack Overflow | Yanis Bourabaa | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    android.widget.DayPickerView is not access on Android Marshmallow

    Stack Overflow | 6 months ago | Yanis Bourabaa
    android.view.InflateException: Binary XML file line #116: Binary XML file line #116: Error inflating class android.widget.DatePicker

    Root Cause Analysis

    1. android.view.InflateException

      Binary XML file line #27: Error inflating class android.widget.DayPickerView

      at android.view.LayoutInflater.createViewFromTag()
    2. Android Platform
      DatePicker.<init>
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:782)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
      4. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
      5. android.view.LayoutInflater.parseInclude(LayoutInflater.java:971)
      6. android.view.LayoutInflater.rInflate(LayoutInflater.java:831)
      7. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
      8. android.view.LayoutInflater.inflate(LayoutInflater.java:515)
      9. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
      10. android.widget.DatePickerCalendarDelegate.<init>(DatePickerCalendarDelegate.java:118)
      11. android.widget.DatePicker.createCalendarUIDelegate(DatePicker.java:160)
      12. android.widget.DatePicker.<init>(DatePicker.java:140)
      13. android.widget.DatePicker.<init>(DatePicker.java:126)
      14. android.widget.DatePicker.<init>(DatePicker.java:122)
      14 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.newInstance(Native Method)
      1 frame
    4. Android Platform
      LayoutInflater.createView
      1. android.view.LayoutInflater.createView(LayoutInflater.java:619)
      1 frame
    5. Android
      PhoneLayoutInflater.onCreateView
      1. com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
      1 frame
    6. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:694)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762)
      3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
      4. android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
      5. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
      6. android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
      7. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
      8. android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
      9. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
      10. android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
      11. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
      12. android.view.LayoutInflater.inflate(LayoutInflater.java:515)
      13. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
      13 frames
    7. com.ikomobi.alptis
      NewTaskDialogFragment.onCreateView
      1. com.ikomobi.alptis.main.task.NewTaskDialogFragment.onCreateView(NewTaskDialogFragment.java:80)
      1 frame
    8. Android Support v4
      FragmentManagerImpl$1.run
      1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1974)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
      4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742)
      5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
      6. android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:517)
      6 frames
    9. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:148)
      4. android.app.ActivityThread.main(ActivityThread.java:5417)
      4 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames