當(dāng)我嘗試安裝ARM應(yīng)用程序時(shí),為什么Genymotion返回錯(cuò)誤消息?
當(dāng)您嘗試在Genymotion中安裝針對ARM體系結(jié)構(gòu)編譯的應(yīng)用程序時(shí) ,會出現(xiàn)以下錯(cuò)誤消息:
INSTALL_FAILED_CPU_ABI_INCOMPATIBLE。
Genymotion 使用x86架構(gòu),因此您的應(yīng)用程序不直接兼容。根據(jù)您的情況,請采用以下兩種方法之一:
您是應(yīng)用程序的開發(fā)人員
您只需要將x86構(gòu)建目標(biāo)添加到當(dāng)前目標(biāo)。有關(guān)更多信息,請單擊 此處。
您不是應(yīng)用程序的開發(fā)人員
您可以將ARM安裝到x86翻譯庫(可以在Internet上找到),也可以與應(yīng)用程序的開發(fā)人員聯(lián)系以尋求x86架構(gòu)支持。
在Genymotion 上運(yùn)行的ARM應(yīng)用程序 比x86應(yīng)用程序更不穩(wěn)定,效率更低。因此,強(qiáng)烈建議您僅將x86應(yīng)用程序與Genymotion一起 使用。
| 安卓版本 | 代號 | Genymotion-ARM-Translation | GApps |
|---|---|---|---|
| 8.0 – 8.1 | Oreo奧利奧 | ARM_Translation_Oreo.zip | |
| 7.0 – 7.1.2 | Nougat牛軋?zhí)?/td> | ||
| 6.0 – 6.0.1 | Marshmallow棉花糖 | ARM_Translation_Marshmallow.zip | |
| 5.0 – 5.1.1 | Lollipop棒棒糖 | ARM_Translation_Lollipop_20160402.zip | |
| 5.0 – 5.1.1 | Lollipop棒棒糖 | ARM_Translation_Lollipop.zip | |
| 4.4 – 4.4.4 | KitKat奇巧巧克力 | ARM-4.4-libhoudini.zip | |
| 4.1 – 4.3.1 | Jelly Bean果凍豆 | Genymotion-ARM-Translation_v1.1.zip |
參考網(wǎng)址:
https://forum.xda-developers.com/showthread.php?t=2528952
https://gist.github.com/wbroek/9321145/revisions
https://4pda.ru/forum/index.php?showtopic=487687
https://4pda.ru/forum/index.php?showtopic=487687&view=findpost&p=76146980
https://opengapps.org/
https://medium.com/@shakalaca/genymotion-use-arm-translation-on-8-x-image-81bb175e380f