How to change the Android emulator temporary directory

后端 未结 2 1256
滥情空心
滥情空心 2021-02-09 13:29

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 dir

相关标签:
2条回答
  • 2021-02-09 13:40

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

    0 讨论(0)
  • 2021-02-09 14:02

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

    mklink /J "C:\Users\{you}\AppData\Local\Temp\AndroidEmulator" "{new-location}"
    
    0 讨论(0)
提交回复
热议问题