java.lang.RuntimeException: Unable to start activity ComponentInfo{sanmiguel.boson.com.sanmigueldigital/sanmiguel.boson.com.sanmigueldigital.MainActivity}: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3254) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350) at android.app.ActivityThread.access$1100(ActivityThread.java:222) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) Caused by: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class at android.view.LayoutInflater.inflate(LayoutInflater.java:551) at android.view.LayoutInflater.inflate(LayoutInflater.java:429) at sanmiguel.boson.com.sanmigueldigital.fragments.MenuFragment.onCreateView(MenuFragment.java:68) at android.support.v4.app.Fragment.performCreateView(Fragment.java:1974) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617) at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:339) at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:601) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1265) at android.app.Activity.performStart(Activity.java:6915) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3217) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)

Stack Overflow | MrMins | 3 months ago
  1. 0

    Framelayout is not allowing add resource image as background

    Stack Overflow | 3 months ago | MrMins
    java.lang.RuntimeException: Unable to start activity ComponentInfo{sanmiguel.boson.com.sanmigueldigital/sanmiguel.boson.com.sanmigueldigital.MainActivity}: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3254) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350) at android.app.ActivityThread.access$1100(ActivityThread.java:222) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) Caused by: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class at android.view.LayoutInflater.inflate(LayoutInflater.java:551) at android.view.LayoutInflater.inflate(LayoutInflater.java:429) at sanmiguel.boson.com.sanmigueldigital.fragments.MenuFragment.onCreateView(MenuFragment.java:68) at android.support.v4.app.Fragment.performCreateView(Fragment.java:1974) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617) at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:339) at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:601) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1265) at android.app.Activity.performStart(Activity.java:6915) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3217) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
  2. 0

    Force close when I run app

    Stack Overflow | 8 months ago | Alfian Hanantio
    android.view.InflateException: Binary XML file line #178: Binary XML file line #178: Error inflating class at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2450) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5465) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: android.view.InflateException: Binary XML file line #178: Binary XML file line #178: Error inflating class at android.view.LayoutInflater.inflate(LayoutInflater.java:539) at android.view.LayoutInflater.inflate(LayoutInflater.java:423) at android.view.LayoutInflater.inflate(LayoutInflater.java:374) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:249) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:106) at com.amalhanaja.luasbangundatar.MainActivity.onCreate(MainActivity.java:16) at android.app.Activity.performCreate(Activity.java:6251) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2403) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510) at android.app.ActivityThread.-wrap11(ActivityThread.java)
  3. 0

    App wont launch after following tutorial on youtube - thenewboston Forum

    thenewboston.com | 8 months ago
    android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>             at android.view.LayoutInflater.createView(LayoutInflater.java:645)             at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)             at android.view.LayoutInflater.onCreateView(LayoutInflater.java:694)             at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762)             at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)             at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App wont launch after following tutorial on youtube - thenewboston Forum

    thenewboston.com | 9 months ago
    android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>             at android.view.LayoutInflater.createView(LayoutInflater.java:645)             at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)             at android.view.LayoutInflater.onCreateView(LayoutInflater.java:694)             at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762)             at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)             at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
  6. 0

    Iam getting android.view.InflateException: Binary XML file line 24: Error inflating class

    Stack Overflow | 6 months ago | Karthi karthik
    android.view.InflateException: Binary XML file line 24: Error inflating class. What should I do? All my id's for edit texts and buttons in android classes are same as in xml files. But Iam unable to get it.. Iam getting as FATAL EXCEPTION: main Process: com.example.karthi.bloodbankk, PID: 1953 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.karthi.bloodbankk/com.example.karthi.bloodbankk.DonarActivity}: android.view.InflateException: Binary XML file line #24: Binary XML file line #2: Error inflating class at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: android.view.InflateException: Binary XML file line #24: Binary XML file line #2: Error inflating class at android.view.LayoutInflater.inflate(LayoutInflater.java:539) at android.view.LayoutInflater.inflate(LayoutInflater.java:423) at android.view.LayoutInflater.inflate(LayoutInflater.java:374) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:256) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109) at com.example.karthi.bloodbankk.DonarActivity.onCreate(DonarActivity.java:39) at android.app.Activity.performCreate(Activity.java:6237) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. android.view.InflateException

      Binary XML file line #1: Error inflating class at android.view.LayoutInflater.createView(LayoutInflater.java:657) at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:706) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:774) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:429)

      at sanmiguel.boson.com.sanmigueldigital.fragments.MenuFragment.onCreateView()
    2. sanmiguel.boson.com
      MenuFragment.onCreateView
      1. sanmiguel.boson.com.sanmigueldigital.fragments.MenuFragment.onCreateView(MenuFragment.java:68)
      1 frame
    3. Android Support v4
      FragmentActivity.onStart
      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.FragmentController.execPendingActions(FragmentController.java:339)
      7. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:601)
      7 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1265)
      2. android.app.Activity.performStart(Activity.java:6915)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3217)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
      5. android.app.ActivityThread.access$1100(ActivityThread.java:222)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:158)
      9. android.app.ActivityThread.main(ActivityThread.java:7229)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames