可能改变,其中Android的虚拟设备将被保存?将被、设备、Android

由网友(除了坚强别无选择)分享简介:我已经设置了Android SDK和Eclipse我的机器上运行Windows XP和AVDS(Android的虚拟设备)上保存到Doc​​uments和Settings \ 用户的\ Android的默认。有没有什么办法改变这种行为?我都保存在一个目录中的一个单独分区的其他组件,并想一切得到巩固。显然不是一个巨大的交...

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

解决方案

添加一个新的用户环境变量(Windows 7的): 在开始菜单>控制面板>系统>高级系统设置(左)>环境变量 添加新用户变量(在上面)指向您的家庭用户目录:

  

变量名: 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 Settingsuser.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):

Start Menu > Control Panel > System > Advanced System Settings (on the left) > Environment Variables Add a new user variable (at the top) that points your home user directory:

android sdk manager为什么和别人的不一样

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

阅读全文

相关推荐

最新文章