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

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

Solutions on the web

via Stack Overflow by chubbsondubs
, 1 year ago
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
via Stack Overflow by HoJunLee
, 1 year ago
Unable to start activity ComponentInfo{com.example.test20140320/com.zeallat.free.WriteFreeActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class <unknown>
via iswwwup.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.torresj.unlockdemo/com.example.torresj.unlockdemo.MainActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class android.widget.ListView
via Stack Overflow by CoderClouds
, 2 years ago
Unable to start activity ComponentInfo{com.example.chowpalv21/com.example.chowpalv21.SmsViewActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class com.android.internal.widget.ActionBarOverlayLayout
via Stack Overflow by ismini09
, 2 years ago
Unable to start activity ComponentInfo{in.wptrafficanalyzer.locationnearbyplacesphotos/in.wptrafficanalyzer.locationnearbyplacesphotos.MainActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class fragment
via Stack Overflow by Rahul Cmv
, 1 year ago
Unable to start activity ComponentInfo{com.rahul/com.rahul.MainActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class
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
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at com.amplified.music.fragment.PlayerFragment.onCreateView(PlayerFragment.java:233)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:1974)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1036)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1230)
at android.support.v4.app.FragmentManagerImpl.addFragment(FragmentManager.java:1332)
at android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2288)
at android.support.v4.app.FragmentController.onCreateView(FragmentController.java:120)
at android.support.v4.app.FragmentActivity.dispatchFragmentsOnCreateView(FragmentActivity.java:356)
at android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:31)
at roboguice.activity.RoboFragmentActivity.onCreateView(RoboFragmentActivity.java:163)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at com.amplified.music.activity.RoboAppCompatActivity.setContentView(RoboAppCompatActivity.java:55)
at com.amplified.music.activity.MainActivity.onAuthenticatedCustomer(MainActivity.java:87)
at com.amplified.music.activity.MusicActivity.onCreate(MusicActivity.java:72)
at android.app.Activity.performCreate(Activity.java:5179)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
63 more bugmates

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