Uber Goal : Debugging / Deploying a Reactive Android Application on a Windows Computer
Problem . When deployed to react-native run-android emulator with > com.android.builder.testing.api.DeviceException: No connected devices! crash ends. I tried running adb devices but did not return any devices. My guess is that to do this, I need to at least make adb aware of the emulator, and so here I am.
Versions
Windows 10 Version 1703 (OS Build 15063.540)
Abd Android Debug Bridge version 1.0.39 Revision 3db08f2c6889-android
Visual Studio Emulator for Android 1.1.622.2
Android OS hosted by KitKat (4.4) emulator KitKat (4.4) API Level 19
5" screen XXDPI Phone emulated device "Similar to Samsung Galaxy S5, Sony"
Customization
- Android OS:
- Developer Mode Enabled
- Enabling USB Debugging
- VM:
- 2 GB of memory
- 2 virtual processors
- 1 Windows Phone Emulator External Virtual Switch
- 1 Windows Phone Emulator Internal Virtual Switch
Result
adb devices returns that it cannot find devices followed by two blank lines:
List of devices attached
<blank line>
<blank line>
What has already been verified / verified
- Proven Emulator Boots
- A proven emulator has a network connection and an IP address (I can get to the Internet from an emulated android).
- Checked that I can ping the specified IP address from a Win Win 10 computer.
- Checked that I can find (via
adb devices ) and deploy (via react-native run-android ) to a real device connected via USB - I tried to force the adb connection with
adb connect 192.168.0.2:5555 and adb connect 192.168.0.2:5554 and received the following error:unable to connect to 192.168.0.2:5555: cannot connect to 192.168.0.2:5555: No connection could be made because the target machine actively refused it. (10061)- Could not find a tool for this online service.
Help Request
If someone knows what can happen and can give some recommendations for a solution, I would really appreciate it. If you need any additional information, just ask and I will provide it (useful tips on how to collect it, if this is not obvious, will also be appreciated).
Thanks so much for reading this :)
source share