|
|
|
@ -35,7 +35,7 @@ echo y | ${ANDROID_HOME}/tools/bin/sdkmanager --licenses
|
|
|
|
|
|
|
|
|
|
cd $KOKORO_ARTIFACTS_DIR/git/nowinandroid
|
|
|
|
|
|
|
|
|
|
# The build needs Java 11, set it as the default Java version.
|
|
|
|
|
# The build needs Java 17, set it as the default Java version.
|
|
|
|
|
sudo update-java-alternatives --set java-1.17.0-openjdk-amd64
|
|
|
|
|
|
|
|
|
|
# Also clear JAVA_HOME variable so java -version is used instead
|
|
|
|
|