Only use 32-bit binaries

This commit is contained in:
topjohnwu 2018-04-22 13:54:27 +08:00
parent 92ed0ae51b
commit 920fc5ae99
2 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@ android {
applicationId "com.topjohnwu.magisk" applicationId "com.topjohnwu.magisk"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion rootProject.ext.compileSdkVersion targetSdkVersion rootProject.ext.compileSdkVersion
versionCode 112 versionCode 113
versionName "5.6.4" versionName "5.6.4"
javaCompileOptions { javaCompileOptions {
annotationProcessorOptions { annotationProcessorOptions {

View File

@ -76,11 +76,11 @@ public class InstallMagisk extends ParallelTask<Void, Void, Boolean> {
List<String> abis = Arrays.asList(Build.SUPPORTED_ABIS); List<String> abis = Arrays.asList(Build.SUPPORTED_ABIS);
String arch; String arch;
if (abis.contains("x86_64")) arch = "x64"; if (abis.contains("x86"))
else if (abis.contains("arm64-v8a")) arch = "arm64"; arch = "x86";
else if (abis.contains("x86")) arch = "x86"; else
else arch = "arm"; arch = "arm";
console.add("- Device platform: " + arch); console.add("- Device platform: " + Build.SUPPORTED_ABIS[0]);
try { try {
// Unzip files // Unzip files