java.lang.NoSuchMethodError: No virtual method onResume(Landroid/app/Activity;Lcom/facebook/react/modules/core/DefaultHardwareBackBtnHandler;)V in class Lcom/facebook/react/ReactInstanceManager; or its super classes (declaration of 'com.facebook.react.ReactInstanceManager' appears in /data/app/com.exampleredux-2/base.apk)

GitHub | webzepter | 9 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

    Android example does not work with RN 0.25

    GitHub | 9 months ago | webzepter
    java.lang.NoSuchMethodError: No virtual method onResume(Landroid/app/Activity;Lcom/facebook/react/modules/core/DefaultHardwareBackBtnHandler;)V in class Lcom/facebook/react/ReactInstanceManager; or its super classes (declaration of 'com.facebook.react.ReactInstanceManager' appears in /data/app/com.exampleredux-2/base.apk)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      No virtual method onResume(Landroid/app/Activity;Lcom/facebook/react/modules/core/DefaultHardwareBackBtnHandler;)V in class Lcom/facebook/react/ReactInstanceManager; or its super classes (declaration of 'com.facebook.react.ReactInstanceManager' appears in /data/app/com.exampleredux-2/base.apk)

      at com.reactnativenavigation.activities.BaseReactActivity.onResume()
    2. com.reactnativenavigation.activities
      BaseReactActivity.onResume
      1. com.reactnativenavigation.activities.BaseReactActivity.onResume(BaseReactActivity.java:187)
      1 frame
    3. Android Platform
      ActivityThread.handleLaunchActivity
      1. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1258)
      2. android.app.Activity.performResume(Activity.java:6312)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3092)
      4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)
      5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2481)
      5 frames