java.lang.NoSuchMethodError: android.support.v4.content.ContextCompat.getDrawable

Stack Overflow | keval patel | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.NoSuchMethodError: android.support.v4.content.ContextCompat.getDrawable

    Stack Overflow | 7 months ago | keval patel
    java.lang.NoSuchMethodError: android.support.v4.content.ContextCompat.getDrawable
  2. 0

    NoSuchMethod exception while creating and formatting .doc file using Apache poi-3.8 beta hwpf

    Stack Overflow | 5 years ago | Kanon
    java.lang.NoSuchMethodError: org.apache.poi.POIDocument. : at org.apache.poi.hwpf.HWPFDocumentCore.(HWPFDocumentCore.java:145) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:218) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:186) : at com.vikas.prudent.CreateDocument.onCreate(CreateDocument.java:45) : at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) : at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) : at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) : at android.app.ActivityThread.access$2300(ActivityThread.java:125) : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) : at android.os.Handler.dispatchMessage(Handler.java:99) : at android.os.Looper.loop(Looper.java:123) : at android.app.ActivityThread.main(ActivityThread.java:4627) : at java.lang.reflect.Method.invokeNative(Native Method) : at java.lang.reflect.Method.invoke(Method.java:521) : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) :

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      android.support.v4.content.ContextCompat.getDrawable

      at android.support.v7.internal.widget.TintManager.getDrawable()
    2. Android v7
      TintManager.getDrawable
      1. android.support.v7.internal.widget.TintManager.getDrawable(TintManager.java:146)
      1 frame
    3. android.support.design
      TabLayout.addTab
      1. android.support.design.widget.TabLayout$TabView.<init>(TabLayout.java:1145)
      2. android.support.design.widget.TabLayout.createTabView(TabLayout.java:635)
      3. android.support.design.widget.TabLayout.addTabView(TabLayout.java:669)
      4. android.support.design.widget.TabLayout.addTab(TabLayout.java:365)
      5. android.support.design.widget.TabLayout.addTab(TabLayout.java:340)
      5 frames
    4. com.app.jaiho
      OrderActivity.onCreate
      1. com.app.jaiho.ui.activity.OrderActivity.onCreate(OrderActivity.java:71)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5292)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2302)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2390)
      5. android.app.ActivityThread.access$800(ActivityThread.java:151)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
      7. android.os.Handler.dispatchMessage(Handler.java:110)
      8. android.os.Looper.loop(Looper.java:193)
      9. android.app.ActivityThread.main(ActivityThread.java:5292)
      9 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)
      2 frames
    8. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame