Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Dave1991
, 1 year ago
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)
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(MultiImageSelector.java:97) at me.nereo.multi_image_selector.MultiImageSelector.start(MultiImageSelector.java:78) at com.zhongke.neighbour.home.RepairAddActivity$3.onClick(RepairAddActivity.java:107) at android.view.View.performClick(View.java:4908) at android.view.View$PerformClick.run(View.java:20382) at android.os.Handler.handleCallback(Handler.java:815) at android.os.Handler.dispatchMessage(Handler.java:104) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5692) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)