visual studio 2022 - adb device manager not showing my device. But, the device IP is visible with the “adb devices” command
I am thinking that if the IP can be seen in the “abd devices” command that it should be visible in the device manager? I could be wrong.
I have the adb.exe path in the system environment PATH variable. C:\Program Files (x86)\Android\android-sdk\platform-tools
1 – On my phone - USB debugging is on.
2 – On my phone - wireless debugging is on.
(Now, on my phone - "Pair device with pairing code".
3 – in the VS adb command prompt:
D:\IQsys\IQWorksMSP>adb pair 192.XXX.XXX.XXX:38313
Enter pairing code: 249543
* daemon not running; starting now at tcp:5037
* daemon started successfully
Successfully paired to 192.XXX.XXX.XXX:38313 [guid=adb-R5CX20V9RAJ-oOaVBT]
D:\IQsys\IQWorksMSP>adb connect 192.XXX.XXX.XXX:36755
connected to 192.XXX.XXX.XXX:36755
D:\IQsys\IQWorksMSP>
D:\IQsys\IQWorksMSP>adb devices
List of devices attached
192.XXX.XXX.XXX:36755 device
D:\IQsys\IQWorksMSP>
This is the adb device manager:
(the adb device manager only shows “Android_Accelerated_x86_Oreo Android 81- API 27 x86”
My phone is a samsung galaxy s24
the path I have in my system environment PATH variable I have : C:\Program Files (x86)\Android\android-sdk\platform-tools.
in VS Options, Xamarin, Adroid settings I have:
java development kit location : C:\Program Files (x86)\Android\openjdk\jdk-17.0.12
andriod SDK location : C:\Program Files (x86)\Android\android-sdk
archives location : C:\Users\iqworks\AppData\Local\Xamarin\Mono for Android\Archives
This causes me to continually publish my project, even when I make a small change in order to see how my project looks on a mobile device. Eventually, my web hosting breaks and has to be reset.
Thanks so much for any help or advice.