I am currently working on a React Native Expo Project. Until recently everything worked perfectly fine, but suddenly the project does not work in Android Emulator anymore ( I use Android Studio). I always get the following Error when starting the project:
Your app just crashed. See the error below.
java.lang.RuntimeException: Attempting to call JS function on a bad application bundle: HMRClient.setup()
com.facebook.jni.NativeRunnable.run(Native Method)
android.os.Handler.handleCallback(Handler.java:958)
android.os.Handler.dispatchMessage(Handler.java:99)
com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
android.os.Looper.loopOnce(Looper.java:205)
android.os.Looper.loop(Looper.java:294)
com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
java.lang.Thread.run(Thread.java:1012)
However, in the Browser as a WebVersion it still works fine.
I already tried to empty node_modules and reinstall the modules but it did not help.
I am looking forward to your advice!