更改 android sdk 和 avd 管理器的路径,使其不指向 c:\users

发布于 2024-09-30 00:03:58 字数 257 浏览 0 评论 0原文

有什么办法可以在android SDK中改变这个吗? 看起来 \tools\ 文件夹中的一些 .bat 文件设置了一些环境变量,但无法准确说明它们在做什么。

我在注册表中将 Windows 系统配置文件设置设置为指向 d:\users,其他所有内容都指向那里,但 android sdk 一直想将内容放入 c:\users...

我的理由是我有一个更快的速度驱动器作为我的 d 驱动器(5 磁盘 raid0),我的系统驱动器是 5400 spin ide 驱动器...

Is there any way to change this in the android SDK?
It looks like some of the .bat files in the \tools\ folder sets some environment variables but cant tell exactly what they are doing.

I set my windows system profile settings in the registry to point to d:\users and everything else is pointing there but the android sdk keeps wanting to put things in c:\users...

My reasoning for this is I have a much faster drive as my d drive(5 disk raid0) and my system drive is a 5400 spin ide drive...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

痞味浪人 2024-10-07 00:03:58

我发现将环境变量 ANDROID_SDK_HOME 添加到 Windows 并将其指向 d:\users\d:\users\myusername > 成功了。

我通过编辑注册表项

hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

以及用户 guid 下的 profileimagepath 来更改我的用户配置文件文件夹,使其指向 d 驱动器
不过,我保留了 programdata 文件夹键。

I found that adding the environment variable ANDROID_SDK_HOME to windows and pointing it to d:\users\< myusername > did the trick.

I changed my user profile folders by editing the registry keys

hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

and also the profileimagepath under my user's guid to point to the d drive
i left the programdata folder key alone however.

行雁书 2024-10-07 00:03:58

转到“控制面板”⇒“系统”⇒(Vista/7)“高级系统设置”⇒切换到“高级”选项卡⇒“环境变量”⇒为所有用户选择“系统变量”⇒选择变量“PATH”⇒选择“编辑”来修改现有变量 ⇒ 在变量“值”中,附加您的 \tools 目录(例如“d:\bin\android-sdk\tools”),后面跟一个分号“;”,在前面所有现有路径条目中,请勿删除任何现有条目;否则,将 platform-tools 目录添加到 PATH 后,某些程序可能无法运行。

Go to "Control Panel" ⇒ "System" ⇒ (Vista/7) "Advanced system settings" ⇒ Switch to "Advanced" tab ⇒ "Environment variables" ⇒ Choose "System Variables" for all users" ⇒ Select variable "PATH" ⇒ Choose "Edit" for modifying an existing variable ⇒ In variable "Value", APPEND your \tools directory (e.g., "d:\bin\android-sdk\tools"), followed by a semi-colon ';', IN FRONT of all the existing path entries. DO NOT remove any existing entry; otherwise, some programs may not run after that Add the platform-tools directory to the PATH too.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文