Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change .android folder path in Mac OS X?

Tags:

android

I have another .android folder. How can i change the path of the .android folder in MAC OS X ? Is there any configuration changes required to change path like in Windows 7/8 ?

Thanks in Advance.

EDIT

I have .android folder which is inside c:\users\USERNAME.android in Windows 7 laptop. In Windows 7 there is Environment Variable option to set the another .android folder path. But if i want to do same in MAC OS X then how can i do that?

like image 871
Dhruv Avatar asked Nov 27 '13 07:11

Dhruv


Video Answer


1 Answers

I had the same problem, and this is how I solved it:

First, copy the .android content to a new folder you want to move it to so that your new location will be like /newFolder/.android/.

Second, create a symbolic link from your home folder with this command

ln -s /newFolder/.android/ .android 

Then, the system will go to the /newFolder/.android/ whenever its look for .android

like image 134
Brewsfab Avatar answered Oct 19 '22 08:10

Brewsfab