title: React Native Android crashes on enabling debug mode
body: <p>Shaking the android device and hit Debug, and it crashes every time right away. From the Android Studio logcat, it shows <strong>No source URL loaded, have you initialised the instance?</strong>:</p>
  <pre><code>java.lang.AssertionError: No source URL loaded, have you initialised the instance?
      at com.facebook.infer.annotation.Assertions.assertNotNull(Assertions.java:35)
      at com.facebook.react.modules.debug.SourceCodeModule.getTypedExportedConstants(SourceCodeModule.java:39)
      at com.facebook.fbreact.specs.NativeSourceCodeSpec.getConstants(NativeSourceCodeSpec.java:35)
      at com.facebook.react.bridge.JavaModuleWrapper.getConstants(JavaModuleWrapper.java:129)
      at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
      at android.os.Handler.handleCallback(Handler.java:938)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
      at android.os.Looper.loop(Looper.java:223)
      at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
      at java.lang.Thread.run(Thread.java:923)
  </code></pre>
  <p>The same react native codebase, turning on dubug mode on ios is working fine, but on Android it always crash when debug mode is turned on. I can't see what's causing it by the error log.</p>
  <p>Here are the dependencies I have for the react native app, and I'm using redux and redux-devtools-extension for debugging. Am I missing any libraries?</p>
  <pre><code>&quot;dependencies&quot;: {
    &quot;@react-native-async-storage/async-storage&quot;: &quot;^1.15.14&quot;,
    &quot;@reduxjs/toolkit&quot;: &quot;^1.7.0&quot;,
    &quot;expo&quot;: &quot;~42.0.1&quot;,
    &quot;expo-permissions&quot;: &quot;12.1.0&quot;,
    &quot;expo-splash-screen&quot;: &quot;~0.11.2&quot;,
    &quot;expo-status-bar&quot;: &quot;~1.0.4&quot;,
    &quot;expo-updates&quot;: &quot;~0.8.1&quot;,
    &quot;react&quot;: &quot;17.0.2&quot;,
    &quot;react-dom&quot;: &quot;17.0.2&quot;,
    &quot;react-native&quot;: &quot;0.64.1&quot;,
    &quot;react-native-fast-image&quot;: &quot;^8.5.11&quot;,
    &quot;react-native-gesture-handler&quot;: &quot;~1.10.2&quot;,
    &quot;react-native-navigation&quot;: &quot;^7.14.0&quot;,
    &quot;react-native-reanimated&quot;: &quot;~2.1.0&quot;,
    &quot;react-native-screens&quot;: &quot;3.2.0&quot;,
    &quot;react-native-unimodules&quot;: &quot;~0.13.3&quot;,
    &quot;react-native-web&quot;: &quot;0.16.3&quot;,
    &quot;react-redux&quot;: &quot;^7.2.6&quot;,
    &quot;redux-persist&quot;: &quot;^6.0.0&quot;,
    &quot;tslint&quot;: &quot;^6.1.3&quot;,
    &quot;tslint-react&quot;: &quot;^5.0.0&quot;
  },
  &quot;devDependencies&quot;: {
    &quot;@babel/core&quot;: &quot;^7.9.0&quot;,
    &quot;@types/react&quot;: &quot;17.0.5&quot;,
    &quot;@types/react-native&quot;: &quot;0.64.5&quot;,
    &quot;babel-preset-expo&quot;: &quot;~8.3.0&quot;,
    &quot;jest-expo&quot;: &quot;~41.0.0&quot;,
    &quot;redux-devtools-extension&quot;: &quot;^2.13.9&quot;,
    &quot;typescript&quot;: &quot;4.2.4&quot;
  }, 
  </code></pre>