0

What are the commands in ADB to enable USB debugging?

I have my android connected to my pc via a wifi hot spot. How do I enable usb debbuging through the adb ? What is the commands?

1
1

Enable developer options and USB debugging of your phone:

  1. Open Settings, then select About.
  2. Tap on Build number seven times.
  3. Go back, and select Developer options.
  4. Scroll down, and check the Android debugging or USB debugging entry under Debugging.
  5. Plug your phone into your computer.

For debugging Android studio via WiFi install Wifi Adb Ultimate plugin https://plugins.jetbrains.com/plugin/9207-wifi-adb-ultimate

2
  • consider improvement include adb tcpip 5555; adb connect <ip> for a complete answer
    – alecxs
    Oct 23 '20 at 16:29
  • If you want to do this manually, it can be like usethe4ce answered in stackoverflow.com/questions/4893953/…
    – koding
    Oct 23 '20 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.