cocos creator打包android编译失败

打开native.log内容如下:

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

Initialized native services in: C:\Users\Administrator.gradle\native
The client will now receive all logging from the daemon (pid: 2420). The daemon log file: C:\Users\Administrator.gradle\daemon\4.10.3\daemon-2420.out.log
Starting 11th build in daemon [uptime: 1 hrs 17 mins 16.557 secs, performance: 98%, no major garbage collections]
Using 4 worker leases.
Starting Build
Settings evaluated using settings file ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\settings.gradle’.
Projects loaded. Root project using build file ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\build.gradle’.
Included projects: [root project ‘proj.android-studio’, project ‘:hello_world’, project ‘:libcocos2dx’]
Parallel execution is an incubating feature.

Configure project :
Evaluating root project ‘proj.android-studio’ using build file ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\build.gradle’.
Invalidating in-memory cache of C:\Users\Administrator.gradle\caches\journal-1\file-access.bin

Configure project :hello_world
Evaluating project ‘:hello_world’ using build file ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build.gradle’.
Creating configuration androidTestUtil
Creating configuration compile
Creating configuration apk
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 androidTestApk
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 testApk
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 debugApk
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 androidTestDebugApk
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 testDebugApk
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 releaseApk
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 testReleaseApk
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 E:\HUANJING\SDK\build-tools\28.0.3\package.xml
Parsing E:\HUANJING\SDK\build-tools\30.0.3\package.xml
Parsing E:\HUANJING\SDK\emulator\package.xml
Parsing E:\HUANJING\SDK\ndk\17.2.4988734\package.xml
Parsing E:\HUANJING\SDK\ndk\20.0.5594570\package.xml
Parsing E:\HUANJING\SDK\patcher\v4\package.xml
Parsing E:\HUANJING\SDK\platform-tools\package.xml
Parsing E:\HUANJING\SDK\platforms\android-11\package.xml
Parsing E:\HUANJING\SDK\platforms\android-23\package.xml
Parsing E:\HUANJING\SDK\platforms\android-26\package.xml
Parsing E:\HUANJING\SDK\platforms\android-29\package.xml
Parsing E:\HUANJING\SDK\platforms\android-30\package.xml
Parsing E:\HUANJING\SDK\sources\android-23\package.xml
Parsing E:\HUANJING\SDK\sources\android-26\package.xml
Parsing E:\HUANJING\SDK\sources\android-29\package.xml
Parsing E:\HUANJING\SDK\sources\android-30\package.xml
Parsing E:\HUANJING\SDK\tools\package.xml
SDK initialized in 67 ms
Using incremental javac compilation for :hello_world debug.
Using incremental javac compilation for :hello_world debugUnitTest.
Using incremental javac compilation for :hello_world release.
Using incremental javac compilation for :hello_world releaseUnitTest.
Using incremental javac compilation for :hello_world debugAndroidTest.

Configure project :libcocos2dx
Evaluating project ‘:libcocos2dx’ using build file ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\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
SDK initialized in 1 ms
Using incremental javac compilation for :libcocos2dx debug.
Using incremental javac compilation for :libcocos2dx debugUnitTest.
Using incremental javac compilation for :libcocos2dx release.
Using incremental javac compilation for :libcocos2dx releaseUnitTest.
Using incremental javac compilation for :libcocos2dx debugAndroidTest.
All projects evaluated.
Analytics other plugin to proto: Unknown plugin type com.android.build.gradle.LibraryPlugin expected enum COM_ANDROID_BUILD_GRADLE_LIBRARYPLUGIN
Selected primary task ‘assembleRelease’ from project :
Tasks to be executed: [task ‘:hello_world:checkReleaseClasspath’, task ‘:hello_world:preBuild’, task ‘:hello_world:extractProguardFiles’, task ‘:libcocos2dx:preBuild’, task ‘:libcocos2dx:preReleaseBuild’, task ‘:libcocos2dx:checkReleaseManifest’, task ‘:libcocos2dx:processReleaseManifest’, task ‘:hello_world:preReleaseBuild’, task ‘:libcocos2dx:compileReleaseAidl’, task ‘:hello_world:compileReleaseAidl’, task ‘:libcocos2dx:packageReleaseRenderscript’, task ‘:hello_world:compileReleaseRenderscript’, task ‘:hello_world:checkReleaseManifest’, task ‘:hello_world:generateReleaseBuildConfig’, task ‘:hello_world:prepareLintJar’, task ‘:hello_world:mainApkListPersistenceRelease’, task ‘:hello_world:generateReleaseResValues’, task ‘:hello_world:generateReleaseResources’, task ‘:libcocos2dx:compileReleaseRenderscript’, task ‘:libcocos2dx:generateReleaseResValues’, task ‘:libcocos2dx:generateReleaseResources’, task ‘:libcocos2dx:packageReleaseResources’, task ‘:hello_world:mergeReleaseResources’, task ‘:hello_world:createReleaseCompatibleScreenManifests’, task ‘:hello_world:processReleaseManifest’, task ‘:hello_world:splitsDiscoveryTaskRelease’, task ‘:libcocos2dx:generateReleaseRFile’, task ‘:hello_world:processReleaseResources’, task ‘:hello_world:generateReleaseSources’, task ‘:libcocos2dx:generateReleaseBuildConfig’, task ‘:libcocos2dx:prepareLintJar’, task ‘:libcocos2dx:generateReleaseSources’, task ‘:libcocos2dx:javaPreCompileRelease’, task ‘:libcocos2dx:compileReleaseJavaWithJavac’, task ‘:libcocos2dx:processReleaseJavaRes’, task ‘:libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease’, task ‘:hello_world:javaPreCompileRelease’, task ‘:hello_world:compileReleaseJavaWithJavac’, task ‘:hello_world:generateJsonModelRelease’, task ‘:libcocos2dx:compileReleaseNdk’, task ‘:libcocos2dx:mergeReleaseShaders’, task ‘:libcocos2dx:compileReleaseShaders’, task ‘:libcocos2dx:generateReleaseAssets’, task ‘:libcocos2dx:mergeReleaseJniLibFolders’, task ‘:libcocos2dx:transformNativeLibsWithMergeJniLibsForRelease’, task ‘:libcocos2dx:transformNativeLibsWithStripDebugSymbolForRelease’, task ‘:libcocos2dx:transformNativeLibsWithIntermediateJniLibsForRelease’, task ‘:hello_world:externalNativeBuildRelease’, task ‘:hello_world:compileReleaseSources’, task ‘:hello_world:lintVitalRelease’, task ‘:hello_world:mergeReleaseShaders’, task ‘:hello_world:compileReleaseShaders’, task ‘:hello_world:generateReleaseAssets’, task ‘:libcocos2dx:packageReleaseAssets’, task ‘:hello_world:mergeReleaseAssets’, task ‘:hello_world:checkReleaseLibraries’, task ‘:hello_world:processReleaseJavaRes’, task ‘:hello_world:transformResourcesWithMergeJavaResForRelease’, task ‘:libcocos2dx:mergeReleaseConsumerProguardFiles’, task ‘:hello_world:transformClassesAndResourcesWithProguardForRelease’, task ‘:hello_world:transformClassesWithDexBuilderForRelease’, task ‘:hello_world:transformDexArchiveWithDexMergerForRelease’, task ‘:hello_world:transformClassesAndDexWithShrinkResForRelease’, task ‘:hello_world:mergeReleaseJniLibFolders’, task ‘:hello_world:transformNativeLibsWithMergeJniLibsForRelease’, task ‘:hello_world:transformNativeLibsWithStripDebugSymbolForRelease’, task ‘:hello_world:validateSigningRelease’, task ‘:hello_world:packageRelease’, task ‘:hello_world:assembleRelease’, task ‘:libcocos2dx:extractReleaseAnnotations’, task ‘:libcocos2dx:transformResourcesWithMergeJavaResForRelease’, task ‘:libcocos2dx:transformClassesAndResourcesWithSyncLibJarsForRelease’, task ‘:libcocos2dx:transformNativeLibsWithSyncJniLibsForRelease’, task ‘:libcocos2dx:bundleReleaseAar’, task ‘:libcocos2dx:compileReleaseSources’, task ‘:libcocos2dx:mergeReleaseResources’, task ‘:libcocos2dx:verifyReleaseResources’, task ‘:libcocos2dx:assembleRelease’]
:hello_world:checkReleaseClasspath (Thread[Daemon worker Thread 9,5,main]) started.
:libcocos2dx:preBuild (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:preBuild UP-TO-DATE
Skipping task ‘:libcocos2dx:preBuild’ as it has no actions.
:libcocos2dx:preBuild (Thread[Task worker for ‘:’,5,main]) completed. Took 0.0 secs.
:libcocos2dx:preReleaseBuild (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:preReleaseBuild UP-TO-DATE
Skipping task ‘:libcocos2dx:preReleaseBuild’ as it has no actions.
:libcocos2dx:preReleaseBuild (Thread[Task worker for ‘:’,5,main]) completed. Took 0.0 secs.
:libcocos2dx:checkReleaseManifest (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:checkReleaseManifest UP-TO-DATE
Skipping task ‘:libcocos2dx:checkReleaseManifest’ as it is up-to-date.
:libcocos2dx:checkReleaseManifest (Thread[Task worker for ‘:’,5,main]) completed. Took 0.0 secs.
:libcocos2dx:processReleaseManifest (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:processReleaseManifest UP-TO-DATE
Skipping task ‘:libcocos2dx:processReleaseManifest’ as it is up-to-date.
:libcocos2dx:processReleaseManifest (Thread[Task worker for ‘:’,5,main]) completed. Took 0.003 secs.
:libcocos2dx:compileReleaseAidl (Thread[Task worker for ‘:’,5,main]) started.

Task :hello_world:checkReleaseClasspath UP-TO-DATE
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android-async-http-1.4.9.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\com.android.vending.expansion.zipfile.jar
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android-async-http-1.4.9.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\com.android.vending.expansion.zipfile.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android-async-http-1.4.9.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\com.android.vending.expansion.zipfile.jar
Skipping task ‘:hello_world:checkReleaseClasspath’ as it is up-to-date.
:hello_world:checkReleaseClasspath (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.016 secs.
:hello_world:preBuild (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:preBuild UP-TO-DATE
Skipping task ‘:hello_world:preBuild’ as it has no actions.
:hello_world:preBuild (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:extractProguardFiles (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:extractProguardFiles UP-TO-DATE
Skipping task ‘:hello_world:extractProguardFiles’ as it is up-to-date.
:hello_world:extractProguardFiles (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:preReleaseBuild (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:preReleaseBuild UP-TO-DATE
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Skipping task ‘:hello_world:preReleaseBuild’ as it is up-to-date.
:hello_world:preReleaseBuild (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.006 secs.
:hello_world:checkReleaseManifest (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:checkReleaseManifest UP-TO-DATE
Skipping task ‘:hello_world:checkReleaseManifest’ as it is up-to-date.
:hello_world:checkReleaseManifest (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:generateReleaseBuildConfig (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:generateReleaseBuildConfig UP-TO-DATE
Skipping task ‘:hello_world:generateReleaseBuildConfig’ as it is up-to-date.
:hello_world:generateReleaseBuildConfig (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.001 secs.
:hello_world:prepareLintJar (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:prepareLintJar UP-TO-DATE
Skipping task ‘:hello_world:prepareLintJar’ as it is up-to-date.
:hello_world:prepareLintJar (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:mainApkListPersistenceRelease (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:mainApkListPersistenceRelease UP-TO-DATE
Skipping task ‘:hello_world:mainApkListPersistenceRelease’ as it is up-to-date.
:hello_world:mainApkListPersistenceRelease (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:generateReleaseResValues (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:generateReleaseResValues UP-TO-DATE
Skipping task ‘:hello_world:generateReleaseResValues’ as it is up-to-date.
:hello_world:generateReleaseResValues (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.

Task :libcocos2dx:compileReleaseAidl NO-SOURCE
Skipping task ‘:libcocos2dx:compileReleaseAidl’ as it has no source files and no previous output files.
:libcocos2dx:compileReleaseAidl (Thread[Task worker for ‘:’,5,main]) completed. Took 0.016 secs.
:hello_world:createReleaseCompatibleScreenManifests (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:createReleaseCompatibleScreenManifests UP-TO-DATE
Skipping task ‘:hello_world:createReleaseCompatibleScreenManifests’ as it is up-to-date.
:hello_world:createReleaseCompatibleScreenManifests (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.001 secs.
:libcocos2dx:packageReleaseRenderscript (Thread[Task worker for ‘:’,5,main]) started.
:hello_world:compileReleaseAidl (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:compileReleaseAidl NO-SOURCE
Skipping task ‘:hello_world:compileReleaseAidl’ as it has no source files and no previous output files.
:hello_world:compileReleaseAidl (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.

Task :libcocos2dx:packageReleaseRenderscript NO-SOURCE
Skipping task ‘:libcocos2dx:packageReleaseRenderscript’ as it has no source files and no previous output files.
:libcocos2dx:packageReleaseRenderscript (Thread[Task worker for ‘:’,5,main]) completed. Took 0.0 secs.
:hello_world:processReleaseManifest (Thread[Daemon worker Thread 9,5,main]) started.
:libcocos2dx:compileReleaseRenderscript (Thread[Task worker for ‘:’,5,main]) started.

Task :hello_world:processReleaseManifest UP-TO-DATE
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Skipping task ‘:hello_world:processReleaseManifest’ as it is up-to-date.
:hello_world:processReleaseManifest (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.003 secs.
:hello_world:compileReleaseRenderscript (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:compileReleaseRenderscript UP-TO-DATE
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Skipping task ‘:hello_world:compileReleaseRenderscript’ as it is up-to-date.
:hello_world:compileReleaseRenderscript (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.002 secs.
:hello_world:generateReleaseResources (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:generateReleaseResources UP-TO-DATE
Skipping task ‘:hello_world:generateReleaseResources’ as it has no actions.
:hello_world:generateReleaseResources (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:splitsDiscoveryTaskRelease (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:splitsDiscoveryTaskRelease UP-TO-DATE
Skipping task ‘:hello_world:splitsDiscoveryTaskRelease’ as it is up-to-date.
:hello_world:splitsDiscoveryTaskRelease (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.

Task :libcocos2dx:compileReleaseRenderscript UP-TO-DATE
Skipping task ‘:libcocos2dx:compileReleaseRenderscript’ as it is up-to-date.
:libcocos2dx:compileReleaseRenderscript (Thread[Task worker for ‘:’,5,main]) completed. Took 0.008 secs.
:hello_world:generateJsonModelRelease (Thread[Daemon worker Thread 9,5,main]) started.
:libcocos2dx:generateReleaseResValues (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:generateReleaseResValues UP-TO-DATE
Skipping task ‘:libcocos2dx:generateReleaseResValues’ as it is up-to-date.
:libcocos2dx:generateReleaseResValues (Thread[Task worker for ‘:’,5,main]) completed. Took 0.0 secs.
:libcocos2dx:generateReleaseResources (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:generateReleaseResources UP-TO-DATE
Skipping task ‘:libcocos2dx:generateReleaseResources’ as it has no actions.
:libcocos2dx:generateReleaseResources (Thread[Task worker for ‘:’,5,main]) completed. Took 0.0 secs.

Task :hello_world:generateJsonModelRelease UP-TO-DATE
Skipping task ‘:hello_world:generateJsonModelRelease’ as it is up-to-date.
:hello_world:generateJsonModelRelease (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:libcocos2dx:packageReleaseResources (Thread[Task worker for ‘:’,5,main]) started.
:hello_world:mergeReleaseShaders (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:mergeReleaseShaders UP-TO-DATE
Skipping task ‘:hello_world:mergeReleaseShaders’ as it is up-to-date.
:hello_world:mergeReleaseShaders (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:compileReleaseShaders (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:compileReleaseShaders UP-TO-DATE
Skipping task ‘:hello_world:compileReleaseShaders’ as it is up-to-date.
:hello_world:compileReleaseShaders (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:generateReleaseAssets (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:generateReleaseAssets UP-TO-DATE
Skipping task ‘:hello_world:generateReleaseAssets’ as it has no actions.
:hello_world:generateReleaseAssets (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:checkReleaseLibraries (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:checkReleaseLibraries UP-TO-DATE
Skipping task ‘:hello_world:checkReleaseLibraries’ as it is up-to-date.
:hello_world:checkReleaseLibraries (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:processReleaseJavaRes (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:processReleaseJavaRes NO-SOURCE
Skipping task ‘:hello_world:processReleaseJavaRes’ as it has no source files and no previous output files.
:hello_world:processReleaseJavaRes (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.
:hello_world:mergeReleaseJniLibFolders (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:mergeReleaseJniLibFolders UP-TO-DATE
Skipping task ‘:hello_world:mergeReleaseJniLibFolders’ as it is up-to-date.
:hello_world:mergeReleaseJniLibFolders (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.001 secs.
:hello_world:validateSigningRelease (Thread[Daemon worker Thread 9,5,main]) started.

Task :hello_world:validateSigningRelease UP-TO-DATE
Skipping task ‘:hello_world:validateSigningRelease’ as it is up-to-date.
:hello_world:validateSigningRelease (Thread[Daemon worker Thread 9,5,main]) completed. Took 0.0 secs.

Task :libcocos2dx:packageReleaseResources UP-TO-DATE
Executing transform Aapt2Extractor on artifact aapt2-windows.jar (com.android.tools.build:aapt2:3.2.0-4818971)
Skipping task ‘:libcocos2dx:packageReleaseResources’ as it is up-to-date.
:libcocos2dx:packageReleaseResources (Thread[Task worker for ‘:’,5,main]) completed. Took 0.014 secs.
:hello_world:mergeReleaseResources (Thread[Task worker for ‘:’,5,main]) started.
:libcocos2dx:generateReleaseRFile (Thread[Task worker for ‘:’ Thread 3,5,main]) started.

Task :hello_world:mergeReleaseResources UP-TO-DATE
Executing transform Aapt2Extractor on artifact aapt2-windows.jar (com.android.tools.build:aapt2:3.2.0-4818971)
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Skipping task ‘:hello_world:mergeReleaseResources’ as it is up-to-date.
:hello_world:mergeReleaseResources (Thread[Task worker for ‘:’,5,main]) completed. Took 0.008 secs.

Task :libcocos2dx:generateReleaseRFile UP-TO-DATE
Executing transform PlatformAttrTransform on file E:\HUANJING\SDK\platforms\android-23\android.jar
Skipping task ‘:libcocos2dx:generateReleaseRFile’ as it is up-to-date.
:libcocos2dx:generateReleaseRFile (Thread[Task worker for ‘:’ Thread 3,5,main]) completed. Took 0.009 secs.
:hello_world:processReleaseResources (Thread[Task worker for ‘:’ Thread 3,5,main]) started.
:libcocos2dx:generateReleaseBuildConfig (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:generateReleaseBuildConfig UP-TO-DATE
Skipping task ‘:libcocos2dx:generateReleaseBuildConfig’ as it is up-to-date.
:libcocos2dx:generateReleaseBuildConfig (Thread[Task worker for ‘:’,5,main]) completed. Took 0.001 secs.
:libcocos2dx:prepareLintJar (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:prepareLintJar UP-TO-DATE
Skipping task ‘:libcocos2dx:prepareLintJar’ as it is up-to-date.
:libcocos2dx:prepareLintJar (Thread[Task worker for ‘:’,5,main]) completed. Took 0.0 secs.
:libcocos2dx:generateReleaseSources (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:generateReleaseSources UP-TO-DATE
Skipping task ‘:libcocos2dx:generateReleaseSources’ as it has no actions.
:libcocos2dx:generateReleaseSources (Thread[Task worker for ‘:’,5,main]) completed. Took 0.0 secs.
:libcocos2dx:javaPreCompileRelease (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:javaPreCompileRelease UP-TO-DATE
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android-async-http-1.4.9.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\com.android.vending.expansion.zipfile.jar
Skipping task ‘:libcocos2dx:javaPreCompileRelease’ as it is up-to-date.
:libcocos2dx:javaPreCompileRelease (Thread[Task worker for ‘:’,5,main]) completed. Took 0.001 secs.
:libcocos2dx:compileReleaseJavaWithJavac (Thread[Task worker for ‘:’,5,main]) started.

Task :hello_world:processReleaseResources UP-TO-DATE
Executing transform Aapt2Extractor on artifact aapt2-windows.jar (com.android.tools.build:aapt2:3.2.0-4818971)
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Skipping task ‘:hello_world:processReleaseResources’ as it is up-to-date.
:hello_world:processReleaseResources (Thread[Task worker for ‘:’ Thread 3,5,main]) completed. Took 0.004 secs.
:hello_world:generateReleaseSources (Thread[Task worker for ‘:’ Thread 3,5,main]) started.

Task :hello_world:generateReleaseSources UP-TO-DATE
Skipping task ‘:hello_world:generateReleaseSources’ as it has no actions.
:hello_world:generateReleaseSources (Thread[Task worker for ‘:’ Thread 3,5,main]) completed. Took 0.0 secs.

Task :libcocos2dx:compileReleaseJavaWithJavac UP-TO-DATE
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\src\main\java’, not found
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android-async-http-1.4.9.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\com.android.vending.expansion.zipfile.jar
Skipping task ‘:libcocos2dx:compileReleaseJavaWithJavac’ as it is up-to-date.
:libcocos2dx:compileReleaseJavaWithJavac (Thread[Task worker for ‘:’,5,main]) completed. Took 0.038 secs.
:libcocos2dx:processReleaseJavaRes (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:processReleaseJavaRes NO-SOURCE
Skipping task ‘:libcocos2dx:processReleaseJavaRes’ as it has no source files and no previous output files.
:libcocos2dx:processReleaseJavaRes (Thread[Task worker for ‘:’,5,main]) completed. Took 0.0 secs.
:libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease (Thread[Task worker for ‘:’,5,main]) started.

Task :libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease UP-TO-DATE
Skipping task ‘:libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease’ as it is up-to-date.
:libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease (Thread[Task worker for ‘:’,5,main]) completed. Took 0.001 secs.
:hello_world:javaPreCompileRelease (Thread[Task worker for ‘:’,5,main]) started.
:libcocos2dx:compileReleaseNdk (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :libcocos2dx:compileReleaseNdk NO-SOURCE
Skipping task ‘:libcocos2dx:compileReleaseNdk’ as it has no source files and no previous output files.
:libcocos2dx:compileReleaseNdk (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.0 secs.
:libcocos2dx:mergeReleaseShaders (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :hello_world:javaPreCompileRelease UP-TO-DATE
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android-async-http-1.4.9.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\com.android.vending.expansion.zipfile.jar
Skipping task ‘:hello_world:javaPreCompileRelease’ as it is up-to-date.
:hello_world:javaPreCompileRelease (Thread[Task worker for ‘:’,5,main]) completed. Took 0.001 secs.

Task :libcocos2dx:mergeReleaseShaders UP-TO-DATE
Skipping task ‘:libcocos2dx:mergeReleaseShaders’ as it is up-to-date.
:libcocos2dx:mergeReleaseShaders (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.001 secs.
:hello_world:compileReleaseJavaWithJavac (Thread[Task worker for ‘:’,5,main]) started.
:libcocos2dx:compileReleaseShaders (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :libcocos2dx:compileReleaseShaders UP-TO-DATE
Skipping task ‘:libcocos2dx:compileReleaseShaders’ as it is up-to-date.
:libcocos2dx:compileReleaseShaders (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.0 secs.
:libcocos2dx:generateReleaseAssets (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :libcocos2dx:generateReleaseAssets UP-TO-DATE
Skipping task ‘:libcocos2dx:generateReleaseAssets’ as it has no actions.
:libcocos2dx:generateReleaseAssets (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.0 secs.
:libcocos2dx:mergeReleaseJniLibFolders (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :libcocos2dx:mergeReleaseJniLibFolders UP-TO-DATE
Skipping task ‘:libcocos2dx:mergeReleaseJniLibFolders’ as it is up-to-date.
:libcocos2dx:mergeReleaseJniLibFolders (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.0 secs.
:libcocos2dx:transformNativeLibsWithMergeJniLibsForRelease (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :libcocos2dx:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
Skipping task ‘:libcocos2dx:transformNativeLibsWithMergeJniLibsForRelease’ as it is up-to-date.
:libcocos2dx:transformNativeLibsWithMergeJniLibsForRelease (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.001 secs.
:libcocos2dx:transformNativeLibsWithStripDebugSymbolForRelease (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :libcocos2dx:transformNativeLibsWithStripDebugSymbolForRelease UP-TO-DATE
Skipping task ‘:libcocos2dx:transformNativeLibsWithStripDebugSymbolForRelease’ as it is up-to-date.
:libcocos2dx:transformNativeLibsWithStripDebugSymbolForRelease (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.001 secs.
:libcocos2dx:transformNativeLibsWithIntermediateJniLibsForRelease (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :libcocos2dx:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
Skipping task ‘:libcocos2dx:transformNativeLibsWithIntermediateJniLibsForRelease’ as it is up-to-date.
:libcocos2dx:transformNativeLibsWithIntermediateJniLibsForRelease (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.0 secs.
:libcocos2dx:packageReleaseAssets (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :libcocos2dx:packageReleaseAssets UP-TO-DATE
Skipping task ‘:libcocos2dx:packageReleaseAssets’ as it is up-to-date.
:libcocos2dx:packageReleaseAssets (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.041 secs.
:libcocos2dx:mergeReleaseConsumerProguardFiles (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :libcocos2dx:mergeReleaseConsumerProguardFiles UP-TO-DATE
Skipping task ‘:libcocos2dx:mergeReleaseConsumerProguardFiles’ as it is up-to-date.
:libcocos2dx:mergeReleaseConsumerProguardFiles (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.0 secs.
:libcocos2dx:extractReleaseAnnotations (Thread[Task worker for ‘:’ Thread 2,5,main]) started.

Task :hello_world:compileReleaseJavaWithJavac FAILED
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\src\main\java’, not found
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android-async-http-1.4.9.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\com.android.vending.expansion.zipfile.jar
Task ‘:hello_world:compileReleaseJavaWithJavac’ is not up-to-date because:
Task has failed previously.
All input files are considered out-of-date for incremental task ‘:hello_world:compileReleaseJavaWithJavac’.
Compiling with source level 1.7 and target level 1.7.
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android-async-http-1.4.9.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\com.android.vending.expansion.zipfile.jar
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\src\main\java’, not found
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\src\release\java’, not found
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\generated\source\aidl\release’, not found
Compiling with JDK Java compiler API.
D:\cocos\test\helloworld\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\src\org\cocos2dx\javascript\AppActivity.java:62: 错误: 找不到符号
:hello_world:compileReleaseJavaWithJavac (Thread[Task worker for ‘:’,5,main]) completed. Took 0.112 secs.
glSurfaceView.getHolder().setFormat(PixelFormat.RGBA_8888);
^
符号: 变量 PixelFormat
位置: 类 AppActivity
1 个错误

Task :libcocos2dx:extractReleaseAnnotations UP-TO-DATE
file or directory ‘D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\src\main\java’, not found
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:hello_world:compileReleaseJavaWithJavac’.

Compilation failed; see the compiler error output for details.

  • 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 1s

Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android-async-http-1.4.9.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\com.android.vending.expansion.zipfile.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\android-async-http-1.4.9.jar
Executing transform IdentityTransform -> IdentityTransform on file D:\cocos\test\helloworld\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\com.android.vending.expansion.zipfile.jar
Skipping task ‘:libcocos2dx:extractReleaseAnnotations’ as it is up-to-date.
:libcocos2dx:extractReleaseAnnotations (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.087 secs.
42 actionable tasks: 1 executed, 41 up-to-date
执行命令出错,返回值:1。

弄了几天也不知道该怎么解决,求高手帮忙!