java.lang.RuntimeException: Unable to start activity ComponentInfo{com.amplified.music.debug/com.amplified.music.activity.MainActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class ImageButton

Stack Overflow | chubbsondubs | 5 months ago
  1. 0

    Strange crash with AppCompat, Vectors and 4.1.2

    Stack Overflow | 5 months ago | chubbsondubs
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.amplified.music.debug/com.amplified.music.activity.MainActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class ImageButton
  2. 0

    Why would adding espresso-contrib cause an InflateException?

    Stack Overflow | 2 years ago | rosegrink
    android.view.InflateException: Binary XML file line #33: Error inflating class android.support.v7.widget.RecyclerView
  3. 0

    Binary XML file line #112: Error inflating class com.pnikosis.materialishprogress.ProgressWheel

    GitHub | 4 months ago | felangga
    android.view.InflateException: Binary XML file line #112: Binary XML file line #112: Error inflating class com.pnikosis.materialishprogress.ProgressWheel
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Xamarin Android TabLayout calling SetupWithViewPager throws exception

    Stack Overflow | 1 year ago | DarkIce
    android.view.InflateException: <merge /> can be used only with a valid ViewGroup root and attachToRoot=true
  6. 0

    IncompatibleClassChangeError: android.support.design.internal.NavigationMenuView

    Stack Overflow | 1 year ago | ligi
    android.view.InflateException: Binary XML file line #28: Error inflating class android.support.design.widget.NavigationView

  1. filpgame 4 times, last 1 week ago
  2. Alexandru Popa 6 times, last 3 weeks ago
  3. Benny 42 times, last 4 months ago
  4. danleyb2Interintel 1 times, last 5 months ago
  5. spe 1 times, last 5 months ago
15 more registered users
48 unregistered visitors
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 #21: Error inflating class ImageButton

    at android.view.LayoutInflater.createViewFromTag()
  2. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
    4. android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
    5. android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    7 frames
  3. com.amplified.music
    PlayerFragment.onCreateView
    1. com.amplified.music.fragment.PlayerFragment.onCreateView(PlayerFragment.java:233)
    1 frame
  4. Android Support v4
    FragmentActivity.onCreateView
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1974)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1036)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1230)
    4. android.support.v4.app.FragmentManagerImpl.addFragment(FragmentManager.java:1332)
    5. android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2288)
    6. android.support.v4.app.FragmentController.onCreateView(FragmentController.java:120)
    7. android.support.v4.app.FragmentActivity.dispatchFragmentsOnCreateView(FragmentActivity.java:356)
    8. android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:31)
    9. android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:79)
    9 frames
  5. RoboGuice
    RoboFragmentActivity.onCreateView
    1. roboguice.activity.RoboFragmentActivity.onCreateView(RoboFragmentActivity.java:163)
    1 frame
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
    3. android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
    7 frames
  7. Android v7
    AppCompatDelegateImplV7.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
    1 frame
  8. com.amplified.music
    MusicActivity.onCreate
    1. com.amplified.music.activity.RoboAppCompatActivity.setContentView(RoboAppCompatActivity.java:55)
    2. com.amplified.music.activity.MainActivity.onAuthenticatedCustomer(MainActivity.java:87)
    3. com.amplified.music.activity.MusicActivity.onCreate(MusicActivity.java:72)
    3 frames
  9. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:5179)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)
    3 frames