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

标签 android android-studio-3.0

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

错误是:

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



enter image description here

详细错误:
enter image description here

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

最佳答案

最后我通过一点改变解决了这个问题。

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

再次重建,错误消失了。

关于Android Studio - 原因 : error=86, 可执行文件中的 CPU 类型错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68778987/

相关文章:

java - 顶点限制,如何加载大模型?

macos - 无法在 macOS 10.13 上启动 AVD

java - 编译版本高于Build tool

android - 是否可以自定义 CalendarView 小部件以显示事件并自定义颜色(渐变色)?

更新到 3.0.1 版本后,Android Studio 不显示布局

java - 删除标题栏时出错

java - Android Activity 方法使显示屏闪烁白色以发出警告通知

android - 如何将android项目移动到另一台电脑?

Android 透明度不适用于 PNG

android - Android Studio 3 中的 react 生成的资源问题