fix docker for tauri android build

This commit is contained in:
lendry
2026-06-27 00:10:28 +03:00
parent 886b7e9ade
commit 1a30e7e21c
98 changed files with 24218 additions and 68 deletions

View File

@@ -19,6 +19,14 @@ copy_bundled() {
echo "Bundled AndroidX cache is incomplete (missing webkit:1.14.0). Run populate-offline-agp.sh on a machine with internet." >&2
return 1
fi
if [ ! -f "${BUNDLED_REPO}/androidx/annotation/annotation/1.9.1/annotation-1.9.1.pom" ]; then
echo "Bundled AndroidX cache is incomplete (missing annotation:1.9.1). Run populate-offline-agp.sh on a machine with internet." >&2
return 1
fi
if [ ! -f "${BUNDLED_REPO}/androidx/lifecycle/lifecycle-runtime/2.10.0/lifecycle-runtime-2.10.0.aar" ]; then
echo "Bundled AndroidX cache is incomplete (missing lifecycle-runtime:2.10.0). Run populate-offline-agp.sh on a machine with internet." >&2
return 1
fi
mkdir -p "${LOCAL_REPO}"
cp -a "${BUNDLED_REPO}/." "${LOCAL_REPO}/"
echo "==> AGP ${AGP_VERSION} copied from bundled offline cache (${BUNDLED_REPO})"