java.lang.RuntimeException

Unable to start activity ComponentInfo{com.fatahlinks.mbinzayd/com.fatahlinks.mbinzayd.HomeActivity_}: android.view.InflateException: Binary XML file line #81: Error inflating class com.carouseldemo.controls.Carousel

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • via Stack Overflow by user3253955
    ,
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fatahlinks.mbinzayd/com.fatahlinks.mbinzayd.HomeActivity_}: android.view.InflateException: Binary XML file line #81: Error inflating class com.carouseldemo.controls.Carousel at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2327) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2378) at android.app.ActivityThread.access$800(ActivityThread.java:155) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1244) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5433) 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:1268) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #81: Error inflating class com.carouseldemo.controls.Carousel at android.view.LayoutInflater.createView(LayoutInflater.java:627) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:703) at android.view.LayoutInflater.rInflate(LayoutInflater.java:762) at android.view.LayoutInflater.rInflate(LayoutInflater.java:771) at android.view.LayoutInflater.inflate(LayoutInflater.java:499) 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:324) at android.app.Activity.setContentView(Activity.java:1999) at com.fatahlinks.mbinzayd.HomeActivity_.setContentView(HomeActivity_.java:50) at com.fatahlinks.mbinzayd.HomeActivity_.onCreate(HomeActivity_.java:41) at android.app.Activity.performCreate(Activity.java:5301) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2291) ... 11 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:601) ... 24 more Caused by: android.content.res.Resources$NotFoundException: Array resource ID #0xffffffff at android.content.res.Resources.obtainTypedArray(Resources.java:1706) at com.carouseldemo.controls.Carousel.<init>(Carousel.java:229) at com.carouseldemo.controls.Carousel.<init>(Carousel.java:204) ... 27 more

    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

    We couldn't find other users who have seen this exception.