fix docker for tauri android build
This commit is contained in:
@@ -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})"
|
||||
|
||||
Reference in New Issue
Block a user