Expo loops on startup after updating expo go on emulator

  1. sdkVersion: ‘42.0.0’
  2. Platforms(Android/iOS/web/all): Android
expo diagnostics

  Expo CLI 4.11.0 environment info:
    System:
      OS: Windows 10 10.0.21390
    Binaries:
      Node: 14.16.1 - C:\Program Files\nodejs\node.EXE
      npm: 6.14.12 - C:\Program Files\nodejs\npm.CMD
    IDEs:
      Android Studio: Version  4.2.0.0 AI-202.7660.26.42.7351085
    npmPackages:
      expo: ~42.0.1 => 42.0.3
      react: 16.13.1 => 16.13.1
      react-dom: 16.13.1 => 16.13.1
      react-native: https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz => 0.63.2
      react-native-web: ~0.13.12 => 0.13.18
    Expo Workflow: managed

Hello, so I’m working on an app with a Hyper-v Android emulator connected through ADB. Yesterday the cli asked me to upgrade the expo go app on the target device, so I did. Now when I’m clicking Run on Android device/emulator in Metro it opens on the emulator like it always did, I can see the first screen, then it starts again. The log shows it bundles the app over and over again :

Opening exp://10.0.0.13:19000 on Virtual_Machine
Android Bundling complete 65ms
Android Running app on Virtual Machine
Android Bundling complete 51ms
Android Running app on Virtual Machine
Android Bundling complete 47ms
Android Running app on Virtual Machine
Android Bundling complete 47ms
Android Running app on Virtual Machine
Android Bundling complete 50ms
Android Running app on Virtual Machine

Here is the logcat

Thanks ahead.

Hey @jerrybels, can you let me know if you’re able to reproduce this with a newly created project as well?

1 Like

Hello, I just tried with a new app and it doesn’t loop. I tried deleting node_modules on my project and reinstalling it, it didn’t help. Strange.

[EDIT] and I guess something on the way fixed it because I tried again now without changing anything and it doesn’t loop. Thanks. Would have liked to understand though xD

See if adb logcat gives you any clues.

I posted it because I didn’t find anything but I’m kinda bad at reading it :stuck_out_tongue:

Sorry, I didn’t see you’d posted it in the initial message.

I can’t claim to be an expert in reading logcat output :confused:

I see there are a bunch of stack traces and other error and warning messages, but I couldn’t work out based on that what was the cause of your problems.

1 Like

Yeah me neither… Dont sweat it

1 Like