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

查看:147
本文介绍了更改 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 Device Monitor -> Window -> Preferences -> Android -> DDMS -> Base Local Debugger Port

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

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

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