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"
minSdkVersion 21
targetSdkVersion rootProject.ext.compileSdkVersion
versionCode 112
versionCode 113
versionName "5.6.4"
javaCompileOptions {
annotationProcessorOptions {

View File

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