Mac Android Studio 運(yùn)行項(xiàng)目 報(bào)錯(cuò)
Cause: error=86, Bad CPU type in executable
原因?ADB 不支持 ARM。應(yīng)該是蘋果系統(tǒng)更新了某些東西 導(dǎo)致不支持
解決方案
終端輸入
softwareupdate --install-rosetta
出現(xiàn)
I have read and agree to the terms of the software license agreement. A list of Apple SLAs may be found here: http://www.apple.com/legal/sla/
翻譯:我已經(jīng)閱讀并同意軟件許可協(xié)議的條款。Apple SLA列表可在此處找到:http://www.apple.com/legal/sla/
Type A and press return to agree:?
翻譯:鍵入A并按回車鍵以達(dá)成一致:
輸入: a. 回車
然后會(huì)下載某些東西
2023-05-15 13:54:41.643 softwareupdate[1322:36429] Package Authoring Error: 032-66590: Package reference com.apple.pkg.RosettaUpdateAuto is missing installKBytes attribute
Install of Rosetta 2 finished successfully
成功。結(jié)束文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-758988.html
Android Studio-- 原因:錯(cuò)誤 = 86,可執(zhí)行文件中的 CPU 類型錯(cuò)誤 - 堆棧溢出 (stackoverflow.com)文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-758988.html
到了這里,關(guān)于Cause: error=86, Bad CPU type in executable的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!