Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open Local Termnial. #5

Closed
Starmel opened this issue Apr 16, 2021 · 30 comments
Closed

Cannot open Local Termnial. #5

Starmel opened this issue Apr 16, 2021 · 30 comments

Comments

@Starmel
Copy link

Starmel commented Apr 16, 2021

Thank you so much for porting Android Studio!!

Steps:

  • Open terminal.

Output:

Cannot open Local Terminal
Failed to start [/bin/zsh, --login, -i] in /projectdir


See your idea.log (Help | Show Log in Finder) for the details.

idea.log content:
https://gist.github.com/Starmel/bde7662384920bc8558d41778b4567b0

@dsa28s
Copy link
Owner

dsa28s commented Apr 16, 2021

OK. I found this issue. Next release will fix this issue.
Thank you so much!!

@dsa28s
Copy link
Owner

dsa28s commented Apr 16, 2021

Screen Shot 2021-04-17 at 12 47 59 AM

@Starmel
Copy link
Author

Starmel commented Apr 16, 2021

So cool. How can I buy you coffee?

@dsa28s
Copy link
Owner

dsa28s commented Apr 16, 2021

@Starmel Thank you!!

https://github.com/dsa28s/android-studio-apple-m1/releases/tag/canary-14-2
Here is patched version of fixed this issue. Try it!

@dsa28s
Copy link
Owner

dsa28s commented Apr 17, 2021

@Starmel Please download patched version, and check this issue fixed.
If you check, I'll close the issue.

@Starmel Starmel closed this as completed Apr 17, 2021
@aky0419
Copy link

aky0419 commented May 17, 2021

Hi @dsa28s Is there a regression? I have the canary 15, built on 4/28, and still have the similar issue.
image
image

@dsa28s
Copy link
Owner

dsa28s commented May 17, 2021

Hi @dsa28s Is there a regression? I have the canary 15, built on 4/28, and still have the similar issue.

image

image

Current release already fixed this issue, but offical canary 15 version affected this issue.

@aky0419
Copy link

aky0419 commented May 17, 2021

Thanks for the quick response. I have the m1 cpu macbook and it seems only the 15 support the the arm64. Hopefully this will get patched very soon in the arm64 version.

@maxcorrads
Copy link

Hi, also in Android Studio Arctic Fox | 2020.3.1 Beta 1 Build #AI-203.7717.56.2031.7360992, built on May 14, 2021 this is not working. Does anyone know how to fix it? Thank you

@albertbuchard
Copy link

bumblebee 2021.1.1 solved it for me

@dsa28s
Copy link
Owner

dsa28s commented May 20, 2021

@maxcorrads @aky0419 I have found this issue. It will be patched at Arctic Fox Beta 1 / BumbleBee 2021.1.1.

@albertbuchard Bumblebee official arm64 version is not released. :( So, I will patched bumblebee version soon. Thank you.

@Dararii
Copy link

Dararii commented Jun 1, 2021

Still found the issue on Arctic Fox Beta 3. Any solution?

@b4s36t4
Copy link

b4s36t4 commented Jun 6, 2021

Yea, after doing so much digging I found the solution that worked for me here.!

JetBrains/pty4j#82 (comment)
@Dararii

@Dararii
Copy link

Dararii commented Jun 14, 2021

Yea, after doing so much digging I found the solution that worked for me here.!

JetBrains/pty4j#82 (comment)
@Dararii

Solved my issue. Thank you so much. For anyone who follow the solution, just ensure you restart the Studio afterwards.

@ajith-ab
Copy link

Hey,
I had the same issue but on macOS with an M1 processor and Android Studio Preview.
The below solution works but I had to change the commands slightly. I'm sharing it here for anyone with the same issue on M1 Mac.

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/"

@fugogugo
Copy link

I just downloaded latest Arctic Fox and this happen again

above command doesn't work as well
please reopen this issue

=========================

Android Studio Arctic Fox | 2020.3.1 Beta 4
Build #AI-203.7717.56.2031.7435690, built on June 8, 2021
Runtime version: 11.0.10+0-b96-7249189 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.4
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry: external.system.auto.import.disabled=true

@jeevakalaiselvam
Copy link

@fugogugo , I can confirm. I have the same issue as well.
image

image

@b4s36t4
Copy link

b4s36t4 commented Jun 25, 2021

@jeevakalaiselvam , Have you tried the solutions provided above?! I had the same issues with arctic fox version, but the above solution had fixed it.

@sky-uiltonsantos
Copy link

Hey,
I had the same issue but on macOS with an M1 processor and Android Studio Preview.
The below solution works but I had to change the commands slightly. I'm sharing it here for anyone with the same issue on M1 Mac.

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/"

This worked to me.
THanks

@Nomiracle
Copy link

Hey,
I had the same issue but on macOS with an M1 processor and Android Studio Preview.
The below solution works but I had to change the commands slightly. I'm sharing it here for anyone with the same issue on M1 Mac.

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/"

It also worked for me,Thanks :)

Android Studio Arctic Fox | 2020.3.1 Beta 4
Build #AI-203.7717.56.2031.7435690, built on June 8, 2021
Runtime version: 11.0.10+0-b96-7249189 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.4
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry: external.system.auto.import.disabled=true

@tabvn
Copy link

tabvn commented Jun 30, 2021

Screen Shot 2021-06-30 at 22 15 28

same issue.

@sky-uiltonsantos
Copy link

Screen Shot 2021-06-30 at 22 15 28

same issue.

are you using Android Studio Arctic Fox ?

@dsa28s
Copy link
Owner

dsa28s commented Jun 30, 2021

https://github.com/dsa28s/android-studio-apple-m1/releases/tag/arctic-fox-beta4

Here is patched version of Android Studio Arctic Fox Beta 4. It is included fix terminal not working.

@tabvn
Copy link

tabvn commented Jun 30, 2021

@dsa28s yes i am
Screen Shot 2021-06-30 at 22 58 45

@tabvn
Copy link

tabvn commented Jul 3, 2021

Screen Shot 2021-07-03 at 12 52 43

Beta 5 still has issue.

@mochadwi
Copy link

mochadwi commented Jul 8, 2021

Yea, after doing so much digging I found the solution that worked for me here.!

JetBrains/pty4j#82 (comment)
@Dararii

This also solved my issue. Thank you~

I'm using Arctic Fox Beta 5

@fugogugo
Copy link

Hey,
I had the same issue but on macOS with an M1 processor and Android Studio Preview.
The below solution works but I had to change the commands slightly. I'm sharing it here for anyone with the same issue on M1 Mac.

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/"

Whoaaa this worked!
Stupid me not notice the wrong path. thank youuuu!

@Dararii
Copy link

Dararii commented Jul 23, 2021

Solved on the Arctic Fox RC 1 build.

@Shimingli
Copy link

thanks , good ideas

@teddichiiwa
Copy link

Hey, I had the same issue but on macOS with an M1 processor and Android Studio Preview. The below solution works but I had to change the commands slightly. I'm sharing it here for anyone with the same issue on M1 Mac.

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/"

It works like a charm 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests