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 rbarriuso
, 1 year ago
Landroid/app/Activity;.requestPermissions
java.lang.NoSuchMethodError: Landroid/app/Activity;.requestPermissions	at com.onesignal.AndroidSupportV4Compat$ActivityCompatApi23.requestPermissions(AndroidSupportV4Compat.java:78)	at com.onesignal.AndroidSupportV4Compat$ActivityCompat.requestPermissions(AndroidSupportV4Compat.java:69)	at com.onesignal.PermissionsActivity.requestPermission(PermissionsActivity.java:60)	at com.onesignal.PermissionsActivity.onCreate(PermissionsActivity.java:48)	at android.app.Activity.performCreate(Activity.java:5133)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)	at android.app.ActivityThread.access$600(ActivityThread.java:141)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)	at android.os.Handler.dispatchMessage(Handler.java:99)	at android.os.Looper.loop(Looper.java:137)	at android.app.ActivityThread.main(ActivityThread.java:5103)	at java.lang.reflect.Method.invokeNative(Method.java)	at java.lang.reflect.Method.invoke(Method.java:525)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)	at dalvik.system.NativeStart.main(NativeStart.java)