Manik Mahajan
Manik Mahajan

Reputation: 1624

How to change AVD path from default path

I am getting the following error when i try to run my AVD

NAND: could not write file C:\DOCUME~1....\LOCALS~1\Temp\2\AndroidEmulator\TMP7.tmp, No space left on device.

My SDK is NOT located in C: .Is there any way to change the path of the temp file being generated by AVD.

After searching on internet ,i have tried following , but none worked.

  1. Created user variable ANDROID_SDK_HOME pointing to a path NOT in C:.
  2. Deleted and recreated the AVD .

PS: On the server where i work , I cannot increase my quota on C: , that's why need to move out of it.

Thanks

Upvotes: 1

Views: 2124

Answers (2)

Neumann
Neumann

Reputation: 781

As Manik said, a solution could be to make a symbolic link to another location :

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

Upvotes: 1

Chintan Khetiya
Chintan Khetiya

Reputation: 16152

That was auto Generated file .you have to remove from this path

  • Start > Run > %temp% > cltra+a > delete all.

Hope this will solve your problem and open your emulator properly.

Upvotes: 2

Related Questions