Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Android Studio debug port

I've scoured around and haven't seen a satisfactory answer (so maybe there isn't one). I'm running Android Studio on my Mac at work and there is a conflict with the debugging port 8600.

I was under the impression that if there was a conflict, Android Studio would choose a different port by incrementing up from 8600. It appeared to do this once yesterday when it ran on 8601, but maybe the stars were correctly aligned yesterday because it's not doing it today :(.

Is there a way to change that debug base port from 8600 to something of my choosing? This would be MUCH easier than changing the process it is conflicting with, I promise. Any suggestions on what I'm doing wrong would be greatly appreciated as I feel like I'm missing something obvious. Thanks!

like image 652
blh83 Avatar asked Oct 29 '22 15:10

blh83


1 Answers

Android Device Monitor -> Window -> Preferences -> Android -> DDMS -> Base Local Debugger Port

DDMS screenshot, Android -> DDMS

like image 80
Michael Dodd Avatar answered Nov 13 '22 02:11

Michael Dodd