2.4.3构建成功但是发布失败

我是扣扣斯大王
Tue, 09 Mar 2021 08:52:33 +0000

编译模式：release
使用 Android Studio 工程：C:\Users\ASUS\Desktop\wqwq\jsb-link\frameworks\runtime-src\proj.android-studio
正在生成 apk 文件…
正在执行：’“C:\Users\ASUS\Desktop\wqwq\jsb-link\frameworks\runtime-src\proj.android-studio\gradlew.bat” --parallel --info assembleRelease’

Initialized native services in: C:\Users\ASUS.gradle\native
Removing daemon from the registry due to communication failure. Daemon information: DaemonInfo{pid=2464, address=[b78d99d3-0fd2-43d5-8563-574366e79a19 port:49881, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Idle, lastBusy=1614767684079, context=DefaultDaemonContext[uid=5edc79b7-df4d-4e1d-bb69-53935bc257e9,javaHome=C:\Program Files\Java\jdk1.8.0_102,daemonRegistryDir=C:\Users\ASUS.gradle\daemon,pid=2464,idleTimeout=10800000,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=GBK,-Duser.country=CN,-Duser.language=zh,-Duser.variant]}
Removing 1 daemon stop events from registry
Previous Daemon (2464) stopped at Tue Mar 09 15:03:32 CST 2021 by user or operating system
Starting a Gradle Daemon, 3 busy and 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
Starting process ‘Gradle build daemon’. Working directory: C:\Users\ASUS.gradle\daemon\4.10.3 Command: C:\Program Files\Java\jdk1.8.0_102\bin\java.exe -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=GBK -Duser.country=CN -Duser.language=zh -Duser.variant -cp C:\Users\ASUS.gradle\wrapper\dists\gradle-4.10.3-all\47sla2vl0tc5qooe1dsb59pe1r\gradle-4.10.3\lib\gradle-launcher-4.10.3.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.10.3
Successfully started process ‘Gradle build daemon’
An attempt to start the daemon took 1.739 secs.
The client will now receive all logging from the daemon (pid: 11980). The daemon log file: C:\Users\ASUS.gradle\daemon\4.10.3\daemon-11980.out.log
Starting build in new daemon [memory: 954.7 MB]
Using 12 worker leases.
Starting Build
Settings evaluated using settings file ‘C:\Users\ASUS\Desktop\wqwq\jsb-link\frameworks\runtime-src\proj.android-studio\settings.gradle’.
Projects loaded. Root project using build file ‘C:\Users\ASUS\Desktop\wqwq\jsb-link\frameworks\runtime-src\proj.android-studio\build.gradle’.
Included projects: [root project ‘proj.android-studio’, project ‘:game’, project ‘:instantapp’, project ‘:libcocos2dx’, project ‘:rummy’]
Parallel execution is an incubating feature.

Configure project :
Evaluating root project ‘proj.android-studio’ using build file ‘C:\Users\ASUS\Desktop\wqwq\jsb-link\frameworks\runtime-src\proj.android-studio\build.gradle’.

Configure project :game
Evaluating project ‘:game’ using build file ‘C:\Users\ASUS\Desktop\wqwq\jsb-link\frameworks\runtime-src\proj.android-studio\game\build.gradle’.
Creating configuration androidTestUtil
Creating configuration compile
Creating configuration publish
Creating configuration provided
Creating configuration api
Creating configuration implementation
Creating configuration runtimeOnly
Creating configuration compileOnly
Creating configuration wearApp
Creating configuration annotationProcessor
Creating configuration androidTestCompile
Creating configuration androidTestPublish
Creating configuration androidTestProvided
Creating configuration androidTestApi
Creating configuration androidTestImplementation
Creating configuration androidTestRuntimeOnly
Creating configuration androidTestCompileOnly
Creating configuration androidTestWearApp
Creating configuration androidTestAnnotationProcessor
Creating configuration testCompile
Creating configuration testPublish
Creating configuration testProvided
Creating configuration testApi
Creating configuration testImplementation
Creating configuration testRuntimeOnly
Creating configuration testCompileOnly
Creating configuration testWearApp
Creating configuration testAnnotationProcessor
Creating configuration debugCompile
Creating configuration debugPublish
Creating configuration debugProvided
Creating configuration debugApi
Creating configuration debugImplementation
Creating configuration debugRuntimeOnly
Creating configuration debugCompileOnly
Creating configuration debugWearApp
Creating configuration debugAnnotationProcessor
Creating configuration androidTestDebugCompile
Creating configuration androidTestDebugPublish
Creating configuration androidTestDebugProvided
Creating configuration androidTestDebugApi
Creating configuration androidTestDebugImplementation
Creating configuration androidTestDebugRuntimeOnly
Creating configuration androidTestDebugCompileOnly
Creating configuration androidTestDebugWearApp
Creating configuration androidTestDebugAnnotationProcessor
Creating configuration testDebugCompile
Creating configuration testDebugPublish
Creating configuration testDebugProvided
Creating configuration testDebugApi
Creating configuration testDebugImplementation
Creating configuration testDebugRuntimeOnly
Creating configuration testDebugCompileOnly
Creating configuration testDebugWearApp
Creating configuration testDebugAnnotationProcessor
Creating configuration releaseCompile
Creating configuration releasePublish
Creating configuration releaseProvided
Creating configuration releaseApi
Creating configuration releaseImplementation
Creating configuration releaseRuntimeOnly
Creating configuration releaseCompileOnly
Creating configuration releaseWearApp
Creating configuration releaseAnnotationProcessor
Creating configuration testReleaseCompile
Creating configuration testReleasePublish
Creating configuration testReleaseProvided
Creating configuration testReleaseApi
Creating configuration testReleaseImplementation
Creating configuration testReleaseRuntimeOnly
Creating configuration testReleaseCompileOnly
Creating configuration testReleaseWearApp
Creating configuration testReleaseAnnotationProcessor
Parsing the SDK, no caching allowed
Parsing D:\AndroidSDK\AndroidSDK\build-tools\19.1.0\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\20.0.0\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\21.1.2\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\22.0.1\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\23.0.1\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\23.0.2\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\23.0.3\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\24.0.0\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\24.0.1\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\24.0.2\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\24.0.3\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\25.0.0\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\25.0.1\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\25.0.2\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\25.0.3\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\26.0.0\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\26.0.1\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\26.0.2\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\26.0.3\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\27.0.0\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\27.0.1\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\27.0.2\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\27.0.3\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\28.0.0\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\28.0.2\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\28.0.3\package.xml
Parsing D:\AndroidSDK\AndroidSDK\build-tools\30.0.3\package.xml
Parsing D:\AndroidSDK\AndroidSDK\emulator\package.xml
Parsing D:\AndroidSDK\AndroidSDK\extras\android\m2repository\package.xml
Parsing D:\AndroidSDK\AndroidSDK\extras\google\m2repository\package.xml
Parsing D:\AndroidSDK\AndroidSDK\extras\intel\Hardware_Accelerated_Execution_Manager\package.xml
Parsing D:\AndroidSDK\AndroidSDK\extras\m2repository\com\android\support\constraint\constraint-layout-solver\1.0.2\package.xml
Parsing D:\AndroidSDK\AndroidSDK\extras\m2repository\com\android\support\constraint\constraint-layout\1.0.2\package.xml
Parsing D:\AndroidSDK\AndroidSDK\ndk\18.1.5063045\package.xml
Parsing D:\AndroidSDK\AndroidSDK\ndk\22.0.7026061\package.xml
Parsing D:\AndroidSDK\AndroidSDK\patcher\v4\package.xml
Parsing D:\AndroidSDK\AndroidSDK\platform-tools\package.xml
Parsing D:\AndroidSDK\AndroidSDK\platforms\android-16\package.xml
Parsing D:\AndroidSDK\AndroidSDK\platforms\android-23\package.xml
Parsing D:\AndroidSDK\AndroidSDK\platforms\android-25\package.xml
Parsing D:\AndroidSDK\AndroidSDK\platforms\android-26\package.xml
Parsing D:\AndroidSDK\AndroidSDK\platforms\android-27\package.xml
Parsing D:\AndroidSDK\AndroidSDK\platforms\android-28\package.xml
Parsing D:\AndroidSDK\AndroidSDK\sources\android-16\package.xml
Parsing D:\AndroidSDK\AndroidSDK\sources\android-23\package.xml
Parsing D:\AndroidSDK\AndroidSDK\sources\android-25\package.xml
Parsing D:\AndroidSDK\AndroidSDK\sources\android-26\package.xml
Parsing D:\AndroidSDK\AndroidSDK\sources\android-28\package.xml
Parsing D:\AndroidSDK\AndroidSDK\system-images\android-25\android-tv\x86\package.xml
Parsing D:\AndroidSDK\AndroidSDK\system-images\android-25\android-wear\armeabi-v7a\package.xml
Parsing D:\AndroidSDK\AndroidSDK\system-images\android-25\android-wear\x86\package.xml
Parsing D:\AndroidSDK\AndroidSDK\system-images\android-25\google_apis\arm64-v8a\package.xml
Parsing D:\AndroidSDK\AndroidSDK\system-images\android-25\google_apis\armeabi-v7a\package.xml
Parsing D:\AndroidSDK\AndroidSDK\system-images\android-25\google_apis\x86\package.xml
Parsing D:\AndroidSDK\AndroidSDK\system-images\android-25\google_apis\x86_64\package.xml
Parsing D:\AndroidSDK\AndroidSDK\system-images\android-25\google_apis_playstore\x86\package.xml
Parsing D:\AndroidSDK\AndroidSDK\tools\package.xml
SDK initialized in 3702 ms

FAILURE: Build failed with an exception.

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

VCS Checkout Cache (C:\Users\ASUS\Desktop\wqwq\jsb-link\frameworks\runtime-src\proj.android-studio.gradle\vcs-1) removing files not accessed on or after Tue Mar 02 15:03:35 CST 2021.
VCS Checkout Cache (C:\Users\ASUS\Desktop\wqwq\jsb-link\frameworks\runtime-src\proj.android-studio.gradle\vcs-1) cleaned up in 0.002 secs.
Parameter specified as non-null is null: method com.android.build.gradle.internal.cxx.configure.JsonGenerationVariantConfiguration., parameter ndkVersion

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 12s
执行命令出错，返回值：1。

阅读整个主题