Only use 32-bit binaries
This commit is contained in:
parent
92ed0ae51b
commit
920fc5ae99
@ -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 {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user