22332112
22332112

Reputation: 2397

Move android-sdk directory to /home partition?

I am running out of space on my root partition and would like to move android-sdk directory from /opt to /home.

How do I do that? What do I need to add to .bashrc for android SDK to know new path?

Upvotes: 2

Views: 1380

Answers (1)

cdesir
cdesir

Reputation: 139

Just set your new path in your ~/.bashrc file:

export PATH=${PATH}:~/android-sdk-directory

Then you can directly set in a console :

source ~/.bashrc

for changes to take effect.

Upvotes: 1

Related Questions