可能改变,其中Android的虚拟设备将被保存? [英] Possible to change where Android Virtual Devices are saved?

查看:134
本文介绍了可能改变,其中Android的虚拟设备将被保存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了Android SDK和Eclipse我的机器上运行Windows XP和AVDS(Android的虚拟设备)上保存到Doc​​uments和Settings \ 用户的\ Android的默认。有没有什么办法改变这种行为?我都保存在一个目录中的一个单独分区的其他组件,并想一切得到巩固。显然不是一个巨大的交易,但没有人知道这里一个解决方法吗?

解决方案

添加一个新的用户环境变量(Windows 7的):

  1. 在开始菜单>控制面板>系统>高级系统设置(左)>环境变量

  2. 添加新用户变量(在上面)指向您的家庭用户目录:

      

    变量名: ANDROID_SDK_HOME
    变量值:   的路径到您选择的目录

AVD管理器将使用该目录保存了 .android 到该目录。

对于那些谁可能会感兴趣,我的博客上讲述我的第一次涉足Android开发...
的Andr​​oid的Hello World:的祸

I've set up the Android SDK and Eclipse on my machine running Windows XP and AVDs (Android Virtual Devices) are saved to "Documents and Settings\user\.android" by default. Is there any way to change this behavior? I have all of the other components saved in a directory on a separate partition and would like everything to be consolidated. Obviously not a huge deal but does anyone here know a workaround for this?

解决方案

Add a new user environment variable (Windows 7):

  1. Start Menu > Control Panel > System > Advanced System Settings (on the left) > Environment Variables

  2. Add a new user variable (at the top) that points your home user directory:

    Variable name: ANDROID_SDK_HOME
    Variable value: a path to a directory of your choice

AVD Manager will use this directory to save its .android directory into it.

For those who may be interested, I blogged about my first foray into Android development...
Android "Hello World": a Tale of Woe

这篇关于可能改变,其中Android的虚拟设备将被保存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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