How to connect Ubuntu that on Hyper-V to phone that connected using USB?

ronil21 0 Reputation points

I google this and all the solutions I found are not working (chatGPT also doesn't know).

I use Ubuntu over Hyper-V with the android studio to develop something on my Android phone. I can't find a way to connect the phone to the Android studio ( that is on Ubuntu) for run debug

any suggestions?

A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,634 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,116 Reputation points

    Hello there,

    In Ubuntu you have to create a rules file called 51-android.rules.

    If you have tried many terminal commands to connect your physical device to android studio in ubuntu and you failed to connect try this :- Connect your device and change your USB preference(device notification) to PTP,android studio will detect your device.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--