Fix crash in pure 64-bit devices

This commit is contained in:
vvb2060 2021-02-22 03:15:26 +08:00 committed by John Wu
parent 860a05abf2
commit a4fb1297b0
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ object Const {
init {
if (Build.VERSION.SDK_INT >= 21) {
CPU_ABI = Build.SUPPORTED_ABIS[0]
CPU_ABI_32 = Build.SUPPORTED_32_BIT_ABIS[0]
CPU_ABI_32 = Build.SUPPORTED_32_BIT_ABIS.firstOrNull() ?: CPU_ABI
} else {
CPU_ABI = Build.CPU_ABI
CPU_ABI_32 = CPU_ABI