Android Studio--原因:错误=86,可执行文件中的CPU类型错误 [英] Android Studio-- Cause: error=86, Bad CPU type in executable

查看:364
本文介绍了Android Studio--原因:错误=86,可执行文件中的CPU类型错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android Studio 在构建项目时抛出错误.

Android Studio throws an error while building the project.

错误是:

原因:error=86,可执行文件中的 CPU 类型错误.

Cause: error=86, Bad CPU type in executable.

细节错误:

可执行文件中的 CPU 类型错误 --> 无法运行命令 xxx/aapt

Bad CPU type in executable --> Can not run command xxx/aapt

推荐答案

最后我通过一个小改动解决了这个问题.

Finally I solved this by a little change.

转到错误模块并将 build.gradle 文件中的 buildToolsVersion 更改为 anther(更大版本).

goto the error module and changed the buildToolsVersion to anther(bigger version) in build.gradle file.

重新构建,错误消失.

这篇关于Android Studio--原因:错误=86,可执行文件中的CPU类型错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆