java.lang.RuntimeException

Unable to start activity ComponentInfo{com.charnock.dev/com.charnock.dev.Product_Description}: android.view.InflateException: Binary XML file line #16: Error inflating class com.daimajia.slider.library.SliderLayout

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web52978

  • Unable to start activity ComponentInfo{com.charnock.dev/com.charnock.dev.Product_Description}: android.view.InflateException: Binary XML file line #16: Error inflating class com.daimajia.slider.library.SliderLayout
  • Unable to start activity ComponentInfo: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
  • via newthinktank.com by Unknown author, 9 months ago
    Unable to start activity ComponentInfo{com.example.vitteachersdatabase/com.example.vitteachersdatabase.MainActivity}: android.view.InflateException: Binary XML file line #16: Error inflating class
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.charnock.dev/com.charnock.dev.Product_Description}: android.view.InflateException: Binary XML file line #16: Error inflating class com.daimajia.slider.library.SliderLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2264) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313) at android.app.ActivityThread.access$1100(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5336) 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:873) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #16: Error inflating class com.daimajia.slider.library.SliderLayout at android.view.LayoutInflater.createView(LayoutInflater.java:640) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716) at android.view.LayoutInflater.rInflate(LayoutInflater.java:775) at android.view.LayoutInflater.rInflate(LayoutInflater.java:778) at android.view.LayoutInflater.inflate(LayoutInflater.java:512) at android.view.LayoutInflater.inflate(LayoutInflater.java:409) at android.view.LayoutInflater.inflate(LayoutInflater.java:358) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290) at android.app.Activity.setContentView(Activity.java:1968) at com.charnock.dev.Product_Description.onCreate(Product_Description.java:71) at android.app.Activity.performCreate(Activity.java:5302) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2228) ... 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:614) ... 23 more Caused by: android.view.InflateException: Binary XML file line #11: Error inflating class com.daimajia.slider.library.Indicators.PagerIndicator at android.view.LayoutInflater.createView(LayoutInflater.java:640) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716) at android.view.LayoutInflater.rInflate(LayoutInflater.java:775) at android.view.LayoutInflater.inflate(LayoutInflater.java:512) at android.view.LayoutInflater.inflate(LayoutInflater.java:409) at com.daimajia.slider.library.SliderLayout.<init>(SliderLayout.java:172) at com.daimajia.slider.library.SliderLayout.<init>(SliderLayout.java:166) ... 26 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:614) ... 32 more Caused by: java.lang.NoClassDefFoundError: com.daimajia.slider.library.R$styleable at com.daimajia.slider.library.Indicators.PagerIndicator.<init>(PagerIndicator.java:119) ... 35 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

    You’re the first here who have seen this exception.