adb: error: cannot bind listener: Operation not permitted
Hi I'm trying to get the basic React Native tutorial here set up, under the CLI quickstart tab, but I keep running into issues.
Here are the specifics of my set up:
- Mac OS: Mojave 10.14.5
- Node: 14.15.5
- npx: 6.14.11
- gem: 3.2.3
- watchman: 4.9.0
- Android Studio: 3.5.3
- JRE: 1.8
Running the command "react-native start" opens up Metro, shows this, but it never says "Done."
Running the command "npx react-native run android" causes this message on the terminal
BUILD SUCCESSFUL in 25s
27 actionable tasks: 5 executed, 22 up-to-date
info Connecting to the development server...
adb: error: cannot bind listener: Operation not permitted
warn Failed to connect to development server using "adb reverse": Command failed: /Users/Library/Android/sdk/platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
info Starting the app on "emulator-5554"...
Starting: Intent { cmp=com.awesomeproject/.MainActivity }
On the emulator, this is what I see
I've hit the reload button, and gotten this screen on the emulator

then followed instructions detailed here and set up the IP address but still no luck. I've tried using the command "react-native run android" and it gives the same results as above.
This is the most basic project I can set up and I've followed the instructions listed on the tutorial to the letter multiple times with many fresh projects. I'm really not sure what more I can do or where I could've messed up. I've seen similar issues posted on other forums but they've all been closed without proper resolution.
Does anyone how I can resolve this? What could the issue be here? Should I be running "npm install" at some point? Running the app directly in Android Studio results in the same issues too.
I've been trying to make this work for about a week now so I appreciate any help people can offer. Thanks.
I've found this answer but when I run adb root I just get the following message "adbd cannot run as root in production builds". Meanwhile running adb reverse tcp:8081 tcp:8081 yields "adb: error: cannot bind listener: Operation not permitted". I'm really not sure what to do.
This sounds related to https://github.com/microsoft/vscode-react-native/issues/1028
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.

