Commit 920fc5ae authored by topjohnwu's avatar topjohnwu

Only use 32-bit binaries

parent 92ed0ae5
......@@ -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 {
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment