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

GitHub | mkathiravanmca | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error while running kitkat Mobile

    GitHub | 6 months ago | mkathiravanmca
    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

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com.daimajia.slider.library.R$styleable

      at com.daimajia.slider.library.Indicators.PagerIndicator.<init>()
    2. com.daimajia.slider
      PagerIndicator.<init>
      1. com.daimajia.slider.library.Indicators.PagerIndicator.<init>(PagerIndicator.java:119)
      1 frame
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      2 frames
    4. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:614)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:775)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:512)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:409)
      5 frames
    5. com.daimajia.slider
      SliderLayout.<init>
      1. com.daimajia.slider.library.SliderLayout.<init>(SliderLayout.java:172)
      2. com.daimajia.slider.library.SliderLayout.<init>(SliderLayout.java:166)
      2 frames
    6. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      2 frames
    7. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:614)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:775)
      4. android.view.LayoutInflater.rInflate(LayoutInflater.java:778)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:512)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:409)
      7. android.view.LayoutInflater.inflate(LayoutInflater.java:358)
      7 frames
    8. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290)
      1 frame
    9. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:1968)
      1 frame
    10. com.charnock.dev
      Product_Description.onCreate
      1. com.charnock.dev.Product_Description.onCreate(Product_Description.java:71)
      1 frame
    11. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5302)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2228)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313)
      5. android.app.ActivityThread.access$1100(ActivityThread.java:141)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:136)
      9. android.app.ActivityThread.main(ActivityThread.java:5336)
      9 frames
    12. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    13. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:873)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689)
      2 frames
    14. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame