Skip to content

Commit e90defe

Browse files
dangvansamclaude
andcommitted
ci: use onnxruntime-android 1.20.0 (1.20.1 is desktop-only)
Maven Central has no onnxruntime-android 1.20.1 — that patch shipped for desktop only. 1.20.0 is ABI-compatible for the stable C API. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7e02219 commit e90defe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

bindings/android/build-jnilibs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ set -euo pipefail
99
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1010
NDK="${ANDROID_NDK_HOME:-${ANDROID_NDK_ROOT:-${ANDROID_NDK_LATEST_HOME:-}}}"
1111
[ -n "$NDK" ] || { echo "set ANDROID_NDK_HOME to the Android NDK path" >&2; exit 1; }
12-
ORT_VERSION="1.20.1"
12+
# onnxruntime-android has no 1.20.1 on Maven Central (desktop-only patch);
13+
# 1.20.0 is ABI-compatible for the stable ONNX Runtime C API.
14+
ORT_VERSION="1.20.0"
1315
ABIS=(arm64-v8a armeabi-v7a x86_64)
1416

1517
# onnxruntime-android AAR ships per-ABI libonnxruntime.so + the C API headers.

0 commit comments

Comments
 (0)