Support armv8l in Java API (#2556)

This commit is contained in:
凌封 2025-09-02 20:13:19 +08:00 committed by GitHub
parent b0f355721b
commit daac04bdaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,7 +189,9 @@ public class LibraryUtils {
detectedArch = "x86";
} else if (arch.startsWith("aarch64") || arch.startsWith("arm64")) {
detectedArch = "aarch64";
} else {
} else if (arch.startsWith("arm")) {
detectedArch = "arm"; //armv8l架构
} else {
throw new IllegalStateException("Unsupported arch:" + arch);
}