Android修改AVD默认路径

来源:互联网 发布:brite网络拓扑生成器 编辑:程序博客网 时间:2024/05/23 14:20
Android中保存AVD的默认路径是"Documents and Settings\user\.android",可以通过以下几种方法修改它。

修改android.bat文件。
Go to the Android tools directory. Edit the android.bat command file. At about the end of the command file, find a line similar to
call %java_exe% -Djava.ext.dirs=%java_ext_dirs% -Dcom.android.sdkmanager.toolsdir="%tools_dir%" -Dcom.android.sdkmanager.workdir="%work_dir%" -jar %jar_path% %*
and replace

call %java_exe%
with

call %java_exe% -Duser.home={your_prefer_dir}
where {your_prefer_dire} is your preferred directory without braces, e.g. d:\temp

 

原创粉丝点击