java.lang.NoSuchMethodError: No static method checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I in class Landroid/support/v4/content/ContextCompat; or its super classes (declaration of 'android.support.v4.content.ContextCompat' appears in /data/data/com.zhongke.neighbour/files/instant-run/dex/slice-support4_f6dde806a6fd6917fb8d09558b368a26cec6174e-classes.dex)

GitHub | Dave1991 | 5 months ago
  1. 0

    GitHub comment 78#230212079

    GitHub | 5 months ago | Dave1991
    java.lang.NoSuchMethodError: No static method checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I in class Landroid/support/v4/content/ContextCompat; or its super classes (declaration of 'android.support.v4.content.ContextCompat' appears in /data/data/com.zhongke.neighbour/files/instant-run/dex/slice-support4_f6dde806a6fd6917fb8d09558b368a26cec6174e-classes.dex)
  2. 0

    implement Uber sdk with android project use compileSdkVersion less than 23

    GitHub | 5 months ago | ahmed-hamdy90
    java.lang.NoSuchMethodError: No static method checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I in class Landroid/support/v4/content/ContextCompat; or its super classes (declaration of 'android.support.v4.content.ContextCompat' appears in /data/data/com.yelllow.ubertest/files/instant-run/dex/slice-com.android.support-support-v4-22.2.0_08bdc58da7fbfec268d23acce14c9dbd98584614-classes.dex)
  3. 0

    Application crash at 6.0 version device while scanig qrcode using com.google.zxing:core:3.2.1 library in android

    Stack Overflow | 7 months ago | Harshal Kalavadiya
    java.lang.NoSuchMethodError: No static method checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I in class Landroid/support/v4/content/ContextCompat; or its super classes (declaration of 'android.support.v4.content.ContextCompat' appears in /data/app/pkg.android.rootways.cleaning-1/base.apk)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Is version 3 not use on android studio with compileSdkVersion 22 ?

    GitHub | 10 months ago | vampire1514
    java.lang.NoSuchMethodError: No static method \checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I in class Landroid/support/v4/content/ContextCompat; or its super classes (declaration of 'android.support.v4.content.ContextCompat' appears in /data/app/scanner.card.weypro.com.zxingapptesing-2/base.apk)
  6. 0

    java.lang.NoSuchMethodError: No static method getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;

    Stack Overflow | 3 months ago | batati
    java.lang.NoSuchMethodError: No static method getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; in class Landroid/support/v4/content/ContextCompat; or its super classes (declaration of 'android.support.v4.content.ContextCompat' appears in /data/app/fi.solita.yellowtab-1/base.apk:classes32.dex)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      No static method checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I in class Landroid/support/v4/content/ContextCompat; or its super classes (declaration of 'android.support.v4.content.ContextCompat' appears in /data/data/com.zhongke.neighbour/files/instant-run/dex/slice-support4_f6dde806a6fd6917fb8d09558b368a26cec6174e-classes.dex)

      at me.nereo.multi_image_selector.MultiImageSelector.hasPermission()
    2. me.nereo.multi_image_selector
      MultiImageSelector.start
      1. me.nereo.multi_image_selector.MultiImageSelector.hasPermission(MultiImageSelector.java:97)
      2. me.nereo.multi_image_selector.MultiImageSelector.start(MultiImageSelector.java:78)
      2 frames
    3. com.zhongke.neighbour
      RepairAddActivity$3.onClick
      1. com.zhongke.neighbour.home.RepairAddActivity$3.onClick(RepairAddActivity.java:107)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:4908)
      2. android.view.View$PerformClick.run(View.java:20382)
      3. android.os.Handler.handleCallback(Handler.java:815)
      4. android.os.Handler.dispatchMessage(Handler.java:104)
      5. android.os.Looper.loop(Looper.java:194)
      6. android.app.ActivityThread.main(ActivityThread.java:5692)
      6 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
      2 frames