creator2.4.8打安卓aab包错误 没人反应吗。。。

Execution failed for task ‘:link-game:signReleaseBundle’.

A failure occurred while executing
打包新新项目都报错 2.4.6 没有这个问题
报错信息如下
com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
java.lang.OutOfMemoryError (no error message)

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

关注中,字面意思是内存超出了,你看下有没有哪些影响内存


内存超出,编译不过。红框设置为2048MB就可以了

3赞

更改后通过Android studio打包aab没问题了,但cocos creator自带的打aab的包还是无法成功。会出现卡死情况。点击取消编译也没有响应。
image

用2.4.6升级gradle后遇到同样的问题,您解决了吗

使用android studio打包aab了。