cocos creator 2.0.8 安卓打包失败 C:\Users\admin\.CocosCreator\logs\native.log

编译模式:release
使用 Android Studio 工程:F:\games\shop\jsb-default\frameworks\runtime-src\proj.android-studio
正在生成 apk 文件…
正在执行:’“F:\games\shop\jsb-default\frameworks\runtime-src\proj.android-studio\gradlew.bat” --parallel --info assembleRelease’

Initialized native services in: C:\Users\admin.gradle\native

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine java version from ‘12.0.1’.

  • 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
    执行命令出错,返回值:1。

https://forum.cocos.com/t/creator-helloworld-apk/77693/27

看下这个帖子。