Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29447

react native application on emulator stuck on white screen

$
0
0

on android only and only in the emulator, if I run my react native app, the app does not launch and get stuck on a white screen. The bundler in the terminal does not receive any connections requests.

It used to work and it works when I run on a device using the same command (react-native run-android)

I'm on react native 0.57.8

enter image description here

enter image description here

Here are the logs I get from react-native log-android:

    02-26 17:12:21.527  6544  6544 D ReactNative: ReactInstanceManager.ctor()    02-26 17:12:21.606  6544  6544 D ReactNative: ReactInstanceManager.createReactContextInBackground()    02-26 17:12:21.606  6544  6544 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()    02-26 17:12:21.629  6544  6544 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()    02-26 17:12:21.629  6544  6544 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()    02-26 17:12:21.629  6544  6544 D ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()    02-26 17:12:21.665  6544  6604 D ReactNative: ReactInstanceManager.createReactContext()    02-26 17:12:21.727  6544  6604 D ReactNative: Initializing React Xplat Bridge.    02-26 17:12:21.729  6544  6604 D ReactNative: Initializing React Xplat Bridge before initializeBridge    02-26 17:12:21.735  6544  6604 D ReactNative: Initializing React Xplat Bridge after initializeBridge    02-26 17:12:21.735  6544  6604 D ReactNative: CatalystInstanceImpl.runJSBundle()

I even tried reverting to older code version via git to version that I know worked, but that still fails, so I think there might be a configuration issue with my machine and the emulator, but I'm unsure what.

Any idea what might be causing this issue?


Viewing all articles
Browse latest Browse all 29447

Trending Articles