Can't open local terminal

谁说胖子不能爱 提交于 2020-01-02 11:59:10

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!