我无法在 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 (Apple silicon) 解决方案 首先,您需要打开 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/"
关于android - 无法在 Android Studio 上打开本地终端(在 Mac 上),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63464304/