更改Android Studio调试端口 [英] Change Android Studio debug port

查看:1057
本文介绍了更改Android Studio调试端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我到处搜寻,但没有找到满意的答案(因此可能没有答案).我在Mac上运行Android Studio,但与调试端口8600冲突.

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.

我的印象是,如果发生冲突,Android Studio将通过从8600递增来选择其他端口.它昨天在8601上运行时似乎这样做过一次,但是昨天星号可能正确对齐了,因为今天不这样做:(.

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 :(.

是否可以将调试基本端口从8600更改为我选择的方式?我保证,这比更改与之冲突的流程要容易得多.对于我在做错的任何建议,将使我感激不已,因为我感觉自己缺少明显的东西.谢谢!

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!

推荐答案

Android设备监视器->窗口->首选项-> Android-> DDMS ->基本本地调试器端口

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

这篇关于更改Android Studio调试端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆