user3587044
user3587044

Reputation: 73

How to change the Android emulator temporary directory

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.

Upvotes: 7

Views: 4038

Answers (2)

Neumann
Neumann

Reputation: 781

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

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

Upvotes: 3

Dan Brough
Dan Brough

Reputation: 3025

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

Upvotes: 8

Related Questions