2018-12-22 17:22:25 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Use this to re-create a docker container for building Android binaries
|
|
|
|
|
2020-11-18 22:01:29 +00:00
|
|
|
# Google makes it intentionally very hard to download the command line tools
|
|
|
|
# the URL is constantly changing and the website requires you to click through
|
|
|
|
# a license.
|
2024-01-05 09:03:43 +00:00
|
|
|
#
|
2020-11-18 22:01:29 +00:00
|
|
|
# Today this URL works:
|
2024-01-05 09:03:43 +00:00
|
|
|
# https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip
|
|
|
|
#
|
|
|
|
# If this fails, go to https://developer.android.com/studio#cmdline-tools and
|
|
|
|
# click through for yourself, and then update the URL in the Dockerfile
|
2020-11-18 22:01:29 +00:00
|
|
|
|
2018-12-22 17:22:25 +00:00
|
|
|
# create the container (this takes a while)
|
2024-01-05 09:03:43 +00:00
|
|
|
docker build -t android-build .
|