问题
I try to initialize my terminal in Android Studio but it gives me error. It says
Can't open local terminal. java.io.IOException: Couldn't create PTY
My computer runs on windows 10. How to fix this?
回答1:
you could run studio.exe as administrator, if the solution not work, try another solution: add a Shell path(git-bash or others) to Android Studio Settings(setting--->Tools--->Terminal--->Shell path)
回答2:
This problem was occured when, you clone one android project from Github Repository..
To solve this Problem, Open Settings, Go To Tools -> Terminal
Then, In the Project Settings, change the path of Start Directory to Your SDK's path like, For My System, G:\MySoftware\Sdk\platform-tools
来源:https://stackoverflow.com/questions/45127835/cant-open-local-terminal