kdahydro.blogg.se

Setting up a linux vm on windows 10
Setting up a linux vm on windows 10









setting up a linux vm on windows 10

The value does not typically change and can be shared by multiple users on the same machine.ĪNDROID_SDK_ROOT, which also points to the SDK installation directory, Sets the path to the SDK installation directory. Environment variables Android SDK environment variables The following table describes commonly used environment variables for the Android SDK tools. Setenv PATH $PATH\:$ANDROID_HOME/tools\:$ANDROID_HOME/tools/bin\:$ANDROID_HOME/platform-tools Setenv ANDROID_HOME ~/Library/Android/sdk You can also update the PATH environment variable to include the tool locations.Įxport ANDROID_HOME ~/Library/Android/sdkĮxport PATH $PATH:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools The documentation for the shell that you're using to be sure. The location of the shell initialization script depends on the shell being used.įor Gnu Bash, the location can be ~/.bash_profile. These commands can be added to the shell initialization script to set the variables each time a Zsh, variables are set using the following To determine which shell type is running, type the following: MacOS and Linux: The precise method of setting environment variables depends on Check the documentation for your version of Windows Windows: In a terminal window, type the following:Īlternately, add it through the Windows UI.

setting up a linux vm on windows 10 setting up a linux vm on windows 10

On macOS and Linux, each time a new shell starts, variable Variable settings in terminal windows last The following examples show how to set environment variables in a terminal window and inĪ shell script for different operating systems. Search path environment variable to includeĪNDROID_HOME/tools, ANDROID_HOME/tools/bin, and

setting up a linux vm on windows 10

To run tools from the command line without including the full path to the executable, One of the most useful environment variables to set isĭetermine the Android SDK installation directory. You can configure the behavior of Android Studio and the command-line tools by settingĮnvironment variables.











Setting up a linux vm on windows 10