如何更改终端的默认目录? [英] How can I change the default directory of the terminal?

查看:328
本文介绍了如何更改终端的默认目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改Android Studio(v2.2.2)终端的默认目录。

I want to change the default directory of the Android Studio (v2.2.2) terminal.

当我打开终端时,它基于项目的目录。

When i open the terminal it is based on the direcetory of the project.


C:\项目路径\

C:\path-of-the-project\

我经常不得不使用 adb shell ,因此我必须导航到SDK路径(平台工具)才能使用adb命令。

I often have to use adb shell, so i must navigate to the SDK path (platform-tools) to use adb command.

是否可以更改终端的默认目录,使其指向SDK-> tools文件夹?

Is it possible to change the default directory of the terminal making it point to the SDK-->tools folder?

推荐答案

您可以更改Android Studio终端的默认目录。
转到文件->设置->工具->终端,然后选择您要选择的路径。

You can change the default directory of the Android Studio terminal. Go to File->Settings->Tools->Terminal and select the path you want to choose.

这篇关于如何更改终端的默认目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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