Reputation: 21
I cannot open the terminal on Android Studio and the error says:
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.
If you have any idea, please let me know.
Thanks in advance.
Upvotes: 2
Views: 3053
Reputation: 86
Solution for M1 Mac (Apple silicon) First of all you need to Open the Android Studio Preview app and close completely from you docks. and run the following commands.
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/"
Upvotes: 6
Reputation: 13539
Press Command + Comma to open android studio preference:
Click the folder icon and select your favorite terminal:
Upvotes: 3