...
16 GB of RAM memory
Available Disk storage > 10 GB
Install Android Studio
Install Java on Linux
Code Block | ||
---|---|---|
| ||
# Update the repositories
sudo apt-get update
# Check if Java is already installed
java -version
# Install Java Runtime Environment (JRE) and verify the installation
sudo apt-get install openjdk-8-jre
java -version
# To change the java version used
sudo update-alternatives --config java |
Install Java on Windows:
Go to https://www.java.com/fr/download/help/windows_manual_download.html and install the Java executable
Click on the Java executable and follow the instructions
Add JAVA_HOME to your path / environment variablesOn Linux: add the line
export PATH=$HOME/android-studio/jbr/bin:$PATH
in the .bashrc file and run the command "source ~/.bashrc"On Windows: Windows start menu > Settings > System > About > Advanced settings > Environment variables > Path > Modify > Add Add the environment variable JAVA_HOME with the path
C:\Program Files (x86)\Java\jre-1.8\Android\Android Studio\jbr\bin
Add Java to your path / environment variables:
Install Android SDK Tools to have uiautomatorviewer and sdkmanager from Android Studio:
Open Android Studio
Click on More Actions > SDK Manager (or Tools > SDK Manager if a project is open)
Click on the SDK Tools tab, uncheck "Hide Obsolete Packages"
Check Android SDK Tools and install version 26.1.1
Add sdkmanager to your path / environment variables:
On Linux: add the line
export PATH=$HOME/Android/Sdk/tools/bin:$PATH
in the .bashrc file and run the command "source ~/.bashrc"On Mac: add the line
export PATH=$HOME/Library/Android/sdk/tools/bin:$PATH
in the .bash_profile file and run the command "source ~/.bash_profile"On Windows: Windows start menu > Settings > System > About > Advanced settings > Environment variables > Path > Modify > Add the path
C:\Users\[username]\AppData\Local\Android\Sdk\tools\bin
On Windows only, turn vulkan off to be able to load web pages (only if you want to test web pages) :
Open Windows start menu
Select Notepad
Add the following text :
Code Block language bash Vulkan = off GLDirectMem = on
Click on File > Save as : go to
C:\Users\[username]\.android
and name the fileadvancedFeatures.ini
...