react-native run-android dev mode not working
See original GitHub issueDescription
For some reason, my app doesn’t run in dev mode.
React Native version:
System:
OS: macOS 10.15.2
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 60.51 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.4.0 - /usr/local/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 24, 25, 26, 27, 28
Build Tools: 23.0.1, 23.0.3, 25.0.0, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.2, 28.0.3
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6392135
Xcode: 11.3/11C29 - /usr/bin/xcodebuild
npmPackages:
react: 16.13.1 => 16.13.1
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native-clean-project: 3.2.4
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Steps To Reproduce
npx react-native run-android
Expected Results
Run on dev mode
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (1 by maintainers)
Top Results From Across the Web
react-native run-android dev mode not working - Stack Overflow
I'm using react-native run-android but my app crashes on debug mode while it works fine in release mode. It's not connected to bundler...
Read more >Running On Device - React Native
Let's now set up an Android device to run our React Native projects. Go ahead and plug in your device via USB to...
Read more >Debugging - Expo Documentation
You can debug React Native apps using the Chrome debugger tools. Rather than running your app's JavaScript on your phone, it will instead...
Read more >React Native for Android development on Windows
If you want to run your project on an Android emulator, you shouldn't need to take any action as Android Studio installs with...
Read more >How to Run React Native App On Real Device Android
If you are doing some changes and want to see in your device you have to enable the Hot/Live Reloading which can be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same problem, it was fixed by deleting the line: import com.facebook.react.BuildConfig; from the MainApplicarion.java