I was using Android studio 1.5. I fired up the studio and then locked it to the launcher. That made it very easy to fire up from there on.
Now I just updated to 2.0. I unlocked the first icon from the launcher, went to the 2.0 directory and used ./studio.sh. As expected, up came version 2.0. Great, now to lock it to the launcher bar. Done. Exit the studio and press the icon. What comes up? Good ole 1.5 which I no longer want to use.
There must be some sort of path variable which I am not finding. What I got from printenv is
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
which clearly has no reference to either version of Android studio. So where does the icon on the launch bar get its location from? How can I update it to the new location?