如何更改终端的默认目录?

编程入门 行业动态 更新时间:2024-10-27 03:37:29
本文介绍了如何更改终端的默认目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想更改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.

更多推荐

如何更改终端的默认目录?

本文发布于:2023-07-04 10:06:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1023049.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:终端   如何更改   目录

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!