简体   繁体   English

Android Studio无法在Mac OS Mojave中打开

[英]Android Studio Not opening in Mac OS Mojave

I have updated my Mac To Mojave . 我已经更新了Mac To Mojave。 I then downloaded and installed android studio . 然后,我下载并安装了android studio。 Every time I open it it closes immediately giving this as an error response. 每次打开它时,它都会立即关闭,并给出错误响应。

This is the error I receive: 这是我收到的错误: 这是我遇到的错误

Any solutions to this or should I downgrade back to High Sierra? 有什么解决方案,还是我应该降级为High Sierra?

This seems that Android Studio wants to use some port but any of these port are used by other process. 似乎Android Studio想要使用某些端口,但其他任何进程都使用这些端口。

In my Android Studio on Linux, I just found that Android Studio used port 63342 8700 6942 and 43993. Try looking for any process using these port and kill them if necessary. 在Linux上的Android Studio中,我刚刚发现Android Studio使用端口63342 8700 6942和43993。尝试使用这些端口查找任何进程,并在必要时将其杀死。

However I don't know what (the reason, and the usage) these ports are used in Android Studio for, and how to specify the port number. 但是我不知道这些端口在Android Studio中用作什么(原因和用法),以及如何指定端口号。

Update : In Settings I found 63342 is the debug port ( Build, Execution, Deployment -> Debugger -> Built-in Server ). 更新 :在Settings我发现63342是调试端口(“ Build, Execution, Deployment ->“ Debugger ->“ Built-in Server )。 Using curl , I found 8700 is reset by remote, 6942 returns '~/.AndroidStudio3.2/config'~/.AndroidStudio3.2/system--- , 43993 is empty. 使用curl ,我发现8700被远程重置,6942返回'~/.AndroidStudio3.2/config'~/.AndroidStudio3.2/system--- config'〜 '~/.AndroidStudio3.2/config'~/.AndroidStudio3.2/system--- ,43993为空。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM