How do I check as a root if a special path set? This command
sudo echo $ANDROID_SDK_HOME
will show the path's value for a normal user and not for a root.
Open a terminal if necessary with CTRL+ALT+T
logon as root
Check the path
If you opened a terminal at step one close it and you are no longer root; otherwise log out as root