How to change the Android emulator temporary directory

那年仲夏 提交于 2019-12-09 06:09:42

问题


I want to know how to change it on WINDOWS ?

Because my C:/ drive don't have enought space to support all TMP file generated !

By default, here are the temp directory on WINDOWS: (%temp%) -> C:\Documents and Settings\MyPC\Local Settings\Temp\ and extract the file on (AndroidEmulator) folder ...

On Linux here the method: http://stuf.ro/how-to-change-the-android-emulator-temporary-directory

But i am looking for way to do it on windows :(

Thank you in advance for your help.


回答1:


I found on linux I can just set the ANDROID_TMP environment variable to a different directory. Have you tried that ?




回答2:


A solution could be to make a symbolic link to another location :

mklink /J "C:\Users\{you}\AppData\Local\Temp\AndroidEmulator" "{new-location}"


来源:https://stackoverflow.com/questions/23375647/how-to-change-the-android-emulator-temporary-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!