本地终端打不开 [英] Can't open local terminal

查看:48
本文介绍了本地终端打不开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在 Android Studio 中初始化我的终端,但它给了我错误.它说

I try to initialize my terminal in Android Studio but it gives me error. It says

无法打开本地终端.java.io.IOException: 无法创建 PTY

Can't open local terminal. java.io.IOException: Couldn't create PTY

我的电脑运行的是 Windows 10.如何解决这个问题?

My computer runs on windows 10. How to fix this?

推荐答案

当你从 Github Repository 克隆一个 android 项目时出现这个问题..

This problem was occured when, you clone one android project from Github Repository..

要解决这个问题,打开设置,转到工具 -> 终端

To solve this Problem, Open Settings, Go To Tools -> Terminal

然后,在项目设置中,将启动目录的路径更改为您的 SDK 的路径,例如,对于我的系统,G:\MySoftware\Sdk\platform-tools

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

这篇关于本地终端打不开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆