Use apt-get update before apt-get install

This commit is contained in:
Simon Sapin 2018-10-31 23:55:21 +01:00
parent d1a18dc052
commit b1da53e47f

View file

@ -295,6 +295,7 @@ def android_build_task(name):
# file: NDK parses $(file $SHELL) to tell x64 host from x86
# wget: servo-media-gstreamers build script
.with_script("""
apt-get update -q
apt-get install -y --no-install-recommends openjdk-8-jdk-headless file wget
./mach bootstrap-android --accept-all-licences --build
""")