ABIs [armeabi] are not supported for platform. Supported ABIs are [arm64-v8a, armeabi-v7a, x86, x86

cocos creator 1.9 升级 2.4 后 打包 使用 android-ndk-r21b 不支持 armeabi 一直报错
SDK initialized in 7451 ms

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ‘:game’.

ABIs [armeabi] are not supported for platform. Supported ABIs are [arm64-v8a, armeabi-v7a, x86, x86_64].

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 23s
执行命令出错,返回值:1。

解决方案
ABIs [armeabi] are not supported for platform. Supported ABIs are [arm64-v8a, armeabi-v7a, x86, x86

ABIs [armeabi] are not supported for platform. Supported ABIs are [arm64-v8a, armeabi-v7a, x86, x86
在构建完成后 删除 2 报错 在编译 ,次方法只能临时使用 最好的方法就是 用 cocos creator 2.4 从新 新建工程 把原来的 工程 代码和 资源拷贝 过来 也可以正常 打包

上一篇:依赖属性


下一篇:【错误记录】p7zip 交叉编译 Android 版本 NDK 报错 ( Application.mk | APP_ABI := armeabi-v7a arm64-v8a x86 x86_64 )