...
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 # Install the Java Development Kit (JDK) and verify the installation sudo apt-get install openjdk-8-jdk javac -version # To change the java version used sudo update-alternatives --config java sudo update-alternatives --config javac |
Install Java on Window:
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: Settings > System > About > Advanced settings > Environment variables > Path > Modify > Add the path
C:\Program Files (x86)\Java\jre-1.8
...
Download the android-service executable in 32 bits and its version file : https://dl.greenspector.com/emulator/android-service-files.tar.gz
Go to your greenspector cache, in the $HOME/.greenspector folder:
On Linux and macOS:
$HOME/.greenspector
On Windows:
C:\Users\[username]\.greenspector
Replace the android-service and android-service.version files with the downloaded files. You will have to decompress the tar.gz file.
You can now run the testrunner with the following command
...