如何解决无法在Android Studio上打开本地终端在Mac上
我无法在Android Studio上打开终端,错误提示:
Cannot open Local Terminal Failed to start [/bin/bash,--rcfile,/Applications/Android Studio.app/Contents/plugins/terminal/jediterm-bash.in,-i] in /Users/{UserName}/Android
See your idea.log (Help | Show Log in Finder) for the details.
如果您有任何想法,请告诉我。
谢谢。
解决方法
M1 Mac(苹果芯片)解决方案 首先,您需要打开 Android Studio Preview 应用程序并从您的码头完全关闭。并运行以下命令。
git clone https://github.com/JetBrains/pty4j.git
cd pty4j/native
clang -fPIC -c *.c
clang -shared -o libpty.dylib *.o
cp libpty.dylib "/Applications/Android Studio Preview.app/Contents/lib/pty4j-native/darwin/"
,
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。