AVD 位于 UNC 路径上并且无法启动

发布于 2024-08-25 19:38:21 字数 172 浏览 4 评论 0原文

如何告诉它把 AVD 放在哪里?默认情况下,它在我的 Windows 主目录中的 .android 文件夹下创建它。

如果 avd 位于 \unc path\to\avd 上,我无法启动它。

我们的系统管理员将您的所有主目录放在另一台共享服务器上。

预先感谢,

柯比

How does one tell it where to put the AVD? by default it is creating it in my windows home directory under a .android folder.

i cannot start my avd if its located over a \unc path\to\avd.

our sys admins put all of your home directories on another shared server.

Thanks in advance,

Kirby

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

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

发布评论

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

评论(1

徒留西风 2024-09-01 19:38:21

轻松修复。 ANDROID_SDK_HOME 路径变量设置为映射驱动器

示例...

我的 Windows 用户的主驱动器是 \servername\path\to\me ...我将 H: 映射到 \servername。

ANDROID_SDK_HOME = "H:"

在我看来并不直观,但至少对于未来任何让系统管理员像这样设置的人来说,都有一个简单的修复方法。

另外,为了告诉您的 AVD 安装位置,您可以使用 -p 标志

android create avd -n my_android1.5 -t 2 -p path/to/my/avd

干杯!

Easy fix. ANDROID_SDK_HOME path variable set to teh mapped drive

Example...

My windows user's home drive is \servername\path\to\me ... i mapped H: to \servername.

ANDROID_SDK_HOME = "H:"

Not intuitive in my opinion, but atleast there is any easy fix for anyone in the future who has their sys admins setting them up like this.

Also to tell your AVD where to be installed you can use the -p flag

android create avd -n my_android1.5 -t 2 -p path/to/my/avd

Cheers!

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