Question: 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?

Answer: 
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
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)