question

Stesvis-5434 avatar image
0 Votes"
Stesvis-5434 asked JessieZhang-2116 edited

VS 2019 unable to find my connected phone

VS 2019 suddenly stopped connecting to my wired android phone. I was always able to connect my phone with the cable and debug/deploy the android app, but today I can't do it anymore.

When I connect my phone to the charging cable I get the notification, I click on "Transfer files" and I can browse my device folders in Windows Explorer.
But when I go to VS 2019 I don't see it anymore in the dropdown. And it's not in the "Unsupported devices" menu either.

I tried clicking on my build number and of course it says that I am already a developer.

I don't understand why it started doing this as it was working until yesterday.

Any ideas??

NOTES: in VS i have minimum android version API 26 and my phone has android 10.

dotnet-xamarinforms
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Stesvis-5434 avatar image
0 Votes"
Stesvis-5434 answered JessieZhang-2116 edited

Thanks @JessieZhang-2116 I tried all the above. Eventually, my USB Debugging option was disabled.
I am not sure why, maybe because this morning I used my phone as a hot spot, maybe it disabled USB debugging automatically?
Well, that was it for me...

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sometimes, it is just the case. And in general, we often first check the USB Debugging option if we find that our VS can't connect to our phone.

0 Votes 0 ·
JessieZhang-2116 avatar image
0 Votes"
JessieZhang-2116 answered

Hello,


Welcome to our Microsoft Q&A platform!

You can try to restart your Visual Studio and try again.

If the problem persist, try to reset the developer Options(diable and enable it).

Hope it can help you.


Best Regards,

Jessie Zhang


If the response is helpful, please click "Accept Answer" and upvote it.


Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.