Installing
-
5. Relocating Android Studio
Next to Install Android Studio IDE
For a System wide installation we Set the superUser as Holder:sudo chown -R root:root /tmp/android-studio
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Then Relocate the Android Studio contents into the /opt Directory:sudo mv /tmp/android-studio /opt/
-
6. 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