question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB.

See original GitHub issue

On my Iphone, React Native Debugger does not work.

With emulator there is no problem. But when I use my Iphone, If I click reload button in Chrome React Native Debugger it is not working and it throws below error.

I can see logs on my Chrome React native debugger but it is not stable.

Warn in Metro bundler console:

No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB.

Real device is connected. My all devices use same Wireless network.

React Native version:

System: OS: macOS 10.15.5 CPU: (8) x64 Intel® Core™ i7-4770HQ CPU @ 2.20GHz Memory: 110.77 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 12.13.1 - /usr/local/bin/node Yarn: Not Found npm: 6.14.6 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.9.0 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2 Android SDK: API Levels: 23, 28, 29 Build Tools: 28.0.3, 29.0.2, 29.0.3 System Images: android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 3.5 AI-191.8026.42.35.6010548 Xcode: 11.6/11E708 - /usr/bin/xcodebuild Languages: Java: 1.8.0_232 - /usr/bin/javac Python: 2.7.16 - /usr/bin/python npmPackages: @react-native-community/cli: Not Found react: 16.11.0 => 16.11.0 react-native: 0.62.2 => 0.62.2

Steps To Reproduce

  1. Connect IOS device (IOS 13.6) to device.
  2. Validate real device connection on XCode
  3. Start app on real device
  4. Debugger and metro bundler starts
  5. Press reload button in debugger and get above error in metro bundler console

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:46
  • Comments:81

github_iconTop GitHub Comments

169reactions
Johbruncommented, Jul 28, 2020

Ok I solved this issue "No apps connected. " (on Android Emulator). Please follow this steps (only for Android) :

  • Open MainApplication.java and remove import com.facebook.react.BuildConfig;

  • Reset metro bundler cache : npx react-native start --reset-cache

  • Remove Android assets cache : cd android && ./gradlew clean

  • Relaunch metro server : npx react-native run-android

And see the magic 🎉

If you have an error like Invariant Violation: Module AppRegistry is not a registered callabel module, scroll on your terminal to see the root cause.

140reactions
DzTheRagecommented, Jul 22, 2020

React Native is a real piece of work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No apps connected. Sending "reload" to all React Native apps ...
Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via...
Read more >
warn No apps connected. ? - Expo SDK - Forums
Sending "devMenu" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via...
Read more >
Running On Device - React Native
This document will guide you through the necessary steps to run your React Native app on a device and to get it ready...
Read more >
No apps connected. Sending "reload" to all React Native apps ...
[Solved]-No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a...
Read more >
expo open developer menu, no apps connected sending ...
To reload the app press "r" To open developer menu press "d" warn No apps connected. Sending "devMenu" to all React Native apps...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found