开发者

AVD is located over UNC path and cannot start

开发者 https://www.devze.com 2022-12-24 10:37 出处:网络
How does one tell it where t开发者_运维知识库o put the AVD?by default it is creating it in my windows home directory under a .android folder.

How does one tell it where t开发者_运维知识库o 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


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!

0

精彩评论

暂无评论...
验证码 换一张
取 消