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 | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android example does not work with RN 0.25

    GitHub | 10 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