简体   繁体   中英

Android Studio Not opening in Mac OS Mojave

I have updated my Mac To Mojave . I then downloaded and installed 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?

This seems that Android Studio wants to use some port but any of these port are used by other process.

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.

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.

Update : In Settings I found 63342 is the debug port ( 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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