凌封
Committed by GitHub

Support armv8l in Java API (#2556)

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