bigmadwolf
bigmadwolf

Reputation: 3529

How to get usb debugging on android 6 working?

So I used to have this working on 5, after an update to Android 6 I'm unable to get USB debugging to work. Anyone else run into this?

Upvotes: 1

Views: 5836

Answers (3)

Abhishek
Abhishek

Reputation: 316

You might consider to change adb port in you pc.

  1. add "ANDROID_ADB_SERVER_PORT" and "5045" as new environment variable and its value.
  2. Restart adb using adb kill-server and adb start-server.

Upvotes: 1

CommonsWare
CommonsWare

Reputation: 1007474

You might try revoking the debugging authorizations:

  • Unplug the device

  • Go into Settings > Developer Options and tap on "Revoke USB debugging authorizations"

  • Click OK on the resulting dialog

  • Plug the device in again and see if you get the ADB authorization dialog

Upvotes: 1

Guy Tal
Guy Tal

Reputation: 11

Go to Settings -> About phone. Go to the bottom item "Build number" and click on it few times util you will see the toat: You are a developer now.

Now go back and you will see a new item called "Developer options". Click on it. Enable "USB debugging" option.

Upvotes: -1

Related Questions