java.lang.NoSuchMethodError: Landroid/app/Activity;.requestPermissions

GitHub | rbarriuso | 4 months ago
  1. 0

    NoSuchMethodError: requestPermissions crash on Android

    GitHub | 4 months ago | rbarriuso
    java.lang.NoSuchMethodError: Landroid/app/Activity;.requestPermissions
  2. 0

    Fatal Exception: java.lang.NoSuchMethodError

    GitHub | 9 months ago | g123k
    java.lang.NoSuchMethodError: android.app.Activity.requestPermissions
  3. 0

    GitHub comment 383#257056852

    GitHub | 1 month ago | amandle
    java.lang.NoSuchMethodError: No static method startActivity(Landroid/app/Activity;Landroid/content/Intent;Landroid/os/Bundle;)V in class Landroid/support/v4/app/ActivityCompat; or its super classes (declaration of 'android.support.v4.app.ActivityCompat' appears in /data/app/com.firebase.uidemo-2/base.apk)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Firebase crash on App::Create with C++ SDK

    Stack Overflow | 6 months ago | mabg
    java.lang.NoSuchMethodError: no method with name='getCodeCacheDir' signature='()Ljava/io/File;' in class Landroid/app/Activity;
  6. 0

    Why does NoSuchMethodError get thrown when FinishAfterTransition is called?

    Stack Overflow | 1 year ago | Varvara Kalinina
    java.lang.NoSuchMethodError: no method with name='finishAfterTransition' signature='()V' in class Landroid/app/Activity;

    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

      Landroid/app/Activity;.requestPermissions

      at com.onesignal.AndroidSupportV4Compat$ActivityCompatApi23.requestPermissions()
    2. com.onesignal
      PermissionsActivity.onCreate
      1. com.onesignal.AndroidSupportV4Compat$ActivityCompatApi23.requestPermissions(AndroidSupportV4Compat.java:78)
      2. com.onesignal.AndroidSupportV4Compat$ActivityCompat.requestPermissions(AndroidSupportV4Compat.java:69)
      3. com.onesignal.PermissionsActivity.requestPermission(PermissionsActivity.java:60)
      4. com.onesignal.PermissionsActivity.onCreate(PermissionsActivity.java:48)
      4 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5133)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
      5. android.app.ActivityThread.access$600(ActivityThread.java:141)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:5103)
      9 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
      3. com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
      3 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame