forwardDebugPort does not work correctly if more than one device / emulator
See original GitHub issue:realm:forwardDebugPort
error: more than one device/emulator
===========================================================================
WARNING: Failed to automatically forward port 8082.
In order to use Realm in Chrome debugging mode, port 8082 must be forwarded
from localhost to the device or emulator being used to run the application.
You may need to add the appropriate flags to the command that failed:
adb forward tcp:8082 tcp:8082
===========================================================================
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
adb -s 192.168.1.6:5555 ..... error: more than one device ...
I made two changes to the steps to get this working. 1) BEFORE disconnecting the wire from my phone, I ran adb reverse...
Read more >How to fix adb: error - than one device/emulator - YouTube
When you are trying to get database file from sdcard to PC using adb pull /sdcard/Vocabsometimes this error message will occuradb: error: ...
Read more >Super-fast alternative to emulator -> x86 Android - B4X
Android Tutorial Super-fast alternative to emulator -> x86 Android · 1. Install Virtual Box · 2. Download one of VM's (OVA files) from...
Read more >Adb commands not working says something about error more ...
I dont get it I brought a new laptop today so I could remove the status bar from ... not working says something...
Read more >VS Code "More than one device connected" - Google Groups
Can I delete the default emulator? If I run with 'flutter run -d deviceID' it will often crash completely and PC is unreachable...
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
We should mention this in the docs.
Unlike other react-native modules Realm apis are synchronous and are built directly on top of the JS engine. We do this for good performance (we don’t have to copy data for every call) and api simplicity. This is why you are able to access object properties using normal property getters/setters rather than using async callbacks which we thought would be cumbersome and awkward.
To make chrome debugging work with this design we had to build an rpc server that allows us to synchronously forward all api calls so they are run on the device/emulator. This rpc server is what requires port forwarding and is only used when debugging in chrome.