Android Studio CentOS 6.x - Setting Up
-
6. Relocating Android Studio
Again to Relocate Android Studio IDE
For a System wide installation we Set the superUser as Holdersudo chown -R root:root /tmp/android-studio
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Then Move the Android Studio contents into the /opt Directorysudo mv /tmp/android-studio /opt/
-
7. Amending User’s Path
And to Make the Android SDK Command-line Accessible
Amend the User’s Path like:nano ~/.bashrc
Append:
/nexport PATH=~/Android/sdk/platformtools:~/Android/sdk/tools:/opt/android-studio/bin:$PATH
Ctrl+x to Save & Exit from nano editor :)
Contents