I’m following this doc and trying to add Genymotion path to environment variable PATH but it’s not being displayed along the others paths after running an echo $PATH.
command to add:
export PATH=/home/user/.Genymobile/Genymotion/
or:
export PATH=/home/user/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/android-studio/bin/:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/user/.Genymobile/Genymotion/
echo $PATH:
/home/user/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/android-studio/bin/:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
I’ve tried to move the folder to another path but I get the same error. How can I fix it?
Advertisement
Answer
add this line in your ~/.profile to set $PATH
permanently
export PATH=$PATH:/home/user/.Genymobile/Genymotion/