最近因為 Windows 11 打算原生支援 Android Apps,
所以在 Arch Linux 安裝了 linux-zen 來試試 Anbox,
試著下載 EhViewer 來看看,安裝完全正常執行,
但是嘗試安裝 LINE 的時候出現了以下錯誤:
==============================================================
Performing Streamed Install
adb: failed to install line.apk:
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
==============================================================
找了找 Google 看到一堆人說在 build.gradle 新增以下程式碼就可以:
android {
splits {
abi {
enable true
reset()
include 'x86', 'armeabi-v7a','x86_64'
universalApk true
}
}
}
但是大家死都不提及要去哪邊用,快瘋掉了!