Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed. D:/DevTools/Android/sdk/ndk-bundle/build//../build/core/init.mk:537: *** Android NDK: Aborting... #14

Open
trunghieuvn opened this issue Jul 23, 2018 · 1 comment

Comments

@trunghieuvn
Copy link
Owner


        ===================================
        ===============MENU================
        ===================================

          Working ON: D:\Training\TrainingCocos2dx\

        0. Clean GIT
        1. Remove folder auto genarate
        2. Update to HEAD
        3. Setup Cocos2dx
        4. Build Win32
        5. Build Android
        99. Exit

Enter choose: 5
Build Android
Building mode: debug
Using Android Studio project : D:\Training\TrainingCocos2dx\proj.android-studio
Building apk...
running: '"D:\Training\TrainingCocos2dx\proj.android-studio\gradlew.bat" --parallel --info assembleDebug -PPROP_NDK_MODE=debug'

Initialized native services in: C:\Users\hieu.trantrung3\.gradle\native
Removing daemon from the registry due to communication failure. Daemon information: DaemonInfo{pid=6284, address=[93b740aa-cdce-4e84-93d9-31db844748dc port:52490, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Idle, lastBusy=1530525633497, context=DefaultDaemonContext[uid=8c1750a1-275d-4fd1-a9b7-06230c3edae8,javaHome=C:\Program Files\Java\jdk1.8.0_101,daemonRegistryDir=C:\Users\hieu.trantrung3\.gradle\daemon,pid=6284,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]}
Removing 0 daemon stop events from registry
Previous Daemon (6284) stopped at Mon Jul 23 16:45:46 ICT 2018 by user or operating system
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
Starting daemon process: workingDir = C:\Users\hieu.trantrung3\.gradle\daemon\3.3, daemonArgs: [C:\Program Files\Java\jdk1.8.0_101\bin\java.exe, -XX:MaxPermSize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Xmx1024m, -Dfile.encoding=windows-1252, -Duser.country=US, -Duser.language=en, -Duser.variant, -cp, C:\Users\hieu.trantrung3\.gradle\wrapper\dists\gradle-3.3-all\2n0i7hqatcbtk57vvql575dbap\gradle-3.3\lib\gradle-launcher-3.3.jar, org.gradle.launcher.daemon.bootstrap.GradleDaemon, 3.3]
Starting process 'Gradle build daemon'. Working directory: C:\Users\hieu.trantrung3\.gradle\daemon\3.3 Command: C:\Program Files\Java\jdk1.8.0_101\bin\java.exe -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant -cp C:\Users\hieu.trantrung3\.gradle\wrapper\dists\gradle-3.3-all\2n0i7hqatcbtk57vvql575dbap\gradle-3.3\lib\gradle-launcher-3.3.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 3.3
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 0.943 secs.
Connected to daemon DaemonInfo{pid=13720, address=[72ebeb30-43c4-4584-9b90-45e1c4116a39 port:54368, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Busy, lastBusy=1532339147582, context=DefaultDaemonContext[uid=8a839232-c625-4981-b7e9-627e67793f3b,javaHome=C:\Program Files\Java\jdk1.8.0_101,daemonRegistryDir=C:\Users\hieu.trantrung3\.gradle\daemon,pid=13720,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]}. Dispatching request Build{id=4b72af8a-13c5-4e2e-b106-fef64797d51a.1, currentDir=D:\Training\TrainingCocos2dx\proj.android-studio}.
Received result org.gradle.launcher.daemon.protocol.BuildStarted@38aa816f from daemon DaemonInfo{pid=13720, address=[72ebeb30-43c4-4584-9b90-45e1c4116a39 port:54368, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Busy, lastBusy=1532339147582, context=DefaultDaemonContext[uid=8a839232-c625-4981-b7e9-627e67793f3b,javaHome=C:\Program Files\Java\jdk1.8.0_101,daemonRegistryDir=C:\Users\hieu.trantrung3\.gradle\daemon,pid=13720,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be starting).
The client will now receive all logging from the daemon (pid: 13720). The daemon log file: C:\Users\hieu.trantrung3\.gradle\daemon\3.3\daemon-13720.out.log
Starting build in new daemon [memory: 954.7 MB]
Executing build with daemon context: DefaultDaemonContext[uid=8a839232-c625-4981-b7e9-627e67793f3b,javaHome=C:\Program Files\Java\jdk1.8.0_101,daemonRegistryDir=C:\Users\hieu.trantrung3\.gradle\daemon,pid=13720,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]
Creating new cache for plugin-use-metadata, path C:\Users\hieu.trantrung3\.gradle\caches\3.3\plugin-resolution\plugin-use-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@15ca6190
Creating new cache for client-status, path C:\Users\hieu.trantrung3\.gradle\caches\3.3\plugin-resolution\client-status.bin, access org.gradle.cache.internal.DefaultCacheAccess@15ca6190
Starting Build
Settings evaluated using settings file 'D:\Training\TrainingCocos2dx\proj.android-studio\settings.gradle'.
Projects loaded. Root project using build file 'D:\Training\TrainingCocos2dx\proj.android-studio\build.gradle'.
Included projects: [root project 'proj.android-studio', project ':hello', project ':libcocos2dx']
Parallel execution is an incubating feature.
Evaluating root project 'proj.android-studio' using build file 'D:\Training\TrainingCocos2dx\proj.android-studio\build.gradle'.
Creating new cache for metadata-2.23/module-metadata, path C:\Users\hieu.trantrung3\.gradle\caches\modules-2\metadata-2.23\module-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@1212f834
Creating new cache for metadata-2.23/artifact-at-repository, path C:\Users\hieu.trantrung3\.gradle\caches\modules-2\metadata-2.23\artifact-at-repository.bin, access org.gradle.cache.internal.DefaultCacheAccess@1212f834
Evaluating project ':hello' using build file 'D:\Training\TrainingCocos2dx\proj.android-studio\app\build.gradle'.
Using 4 worker leases.
Creating configuration compile
Creating configuration apk
Creating configuration provided
Creating configuration wearApp
Creating configuration annotationProcessor
Creating configuration jackPlugin
Creating configuration androidTestCompile
Creating configuration androidTestApk
Creating configuration androidTestProvided
Creating configuration androidTestWearApp
Creating configuration androidTestAnnotationProcessor
Creating configuration androidTestJackPlugin
Creating configuration testCompile
Creating configuration testApk
Creating configuration testProvided
Creating configuration testWearApp
Creating configuration testAnnotationProcessor
Creating configuration testJackPlugin
Creating configuration debugCompile
Creating configuration debugApk
Creating configuration debugProvided
Creating configuration debugWearApp
Creating configuration debugAnnotationProcessor
Creating configuration debugJackPlugin
Creating configuration testDebugCompile
Creating configuration testDebugApk
Creating configuration testDebugProvided
Creating configuration testDebugWearApp
Creating configuration testDebugAnnotationProcessor
Creating configuration testDebugJackPlugin
Creating configuration releaseCompile
Creating configuration releaseApk
Creating configuration releaseProvided
Creating configuration releaseWearApp
Creating configuration releaseAnnotationProcessor
Creating configuration releaseJackPlugin
Creating configuration testReleaseCompile
Creating configuration testReleaseApk
Creating configuration testReleaseProvided
Creating configuration testReleaseWearApp
Creating configuration testReleaseAnnotationProcessor
Creating configuration testReleaseJackPlugin
Parsing the SDK, no caching allowed
Parsing D:\DevTools\Android\sdk\build-tools\21.1.2\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\23.0.1\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\23.0.3\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\25.0.0\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\25.0.2\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\25.0.3\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\26.0.2\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\26.0.3\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\27.0.3\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\28.0.0\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\android-4.4W\package.xml
Observed package id 'build-tools;20.0.0' in inconsistent location 'D:\DevTools\Android\sdk\build-tools\android-4.4W' (Expected 'D:\DevTools\Android\sdk\build-tools\20.0.0')
Parsing D:\DevTools\Android\sdk\cmake\3.6.4111459\package.xml
Parsing D:\DevTools\Android\sdk\emulator\package.xml
Parsing D:\DevTools\Android\sdk\extras\android\m2repository\package.xml
Parsing D:\DevTools\Android\sdk\extras\android\support\package.xml
Parsing D:\DevTools\Android\sdk\extras\google\google_play_services\package.xml
Parsing D:\DevTools\Android\sdk\extras\google\m2repository\package.xml
Parsing D:\DevTools\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\package.xml
Parsing D:\DevTools\Android\sdk\extras\m2repository\com\android\support\constraint\constraint-layout-solver\1.0.2\package.xml
Parsing D:\DevTools\Android\sdk\extras\m2repository\com\android\support\constraint\constraint-layout\1.0.2\package.xml
Parsing D:\DevTools\Android\sdk\lldb\3.1\package.xml
Parsing D:\DevTools\Android\sdk\ndk-bundle\package.xml
Parsing D:\DevTools\Android\sdk\patcher\v4\package.xml
Parsing D:\DevTools\Android\sdk\platform-tools\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-10\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-14\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-20\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-21\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-22\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-23\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-24\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-25\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-26\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-27\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-28\package.xml
Parsing D:\DevTools\Android\sdk\sources\android-27\package.xml
Parsing D:\DevTools\Android\sdk\system-images\android-27\google_apis\x86\package.xml
Parsing D:\DevTools\Android\sdk\tools\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\21.1.2\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\23.0.1\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\23.0.3\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\25.0.0\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\25.0.2\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\25.0.3\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\26.0.2\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\26.0.3\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\27.0.3\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\28.0.0\package.xml
Parsing D:\DevTools\Android\sdk\build-tools\android-4.4W\package.xml
Observed package id 'build-tools;20.0.0' in inconsistent location 'D:\DevTools\Android\sdk\build-tools\android-4.4W' (Expected 'D:\DevTools\Android\sdk\build-tools\20.0.0')
Parsing D:\DevTools\Android\sdk\cmake\3.6.4111459\package.xml
Parsing D:\DevTools\Android\sdk\emulator\package.xml
Parsing D:\DevTools\Android\sdk\extras\android\m2repository\package.xml
Parsing D:\DevTools\Android\sdk\extras\android\support\package.xml
Parsing D:\DevTools\Android\sdk\extras\google\google_play_services\package.xml
Parsing D:\DevTools\Android\sdk\extras\google\m2repository\package.xml
Parsing D:\DevTools\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\package.xml
Parsing D:\DevTools\Android\sdk\extras\m2repository\com\android\support\constraint\constraint-layout-solver\1.0.2\package.xml
Parsing D:\DevTools\Android\sdk\extras\m2repository\com\android\support\constraint\constraint-layout\1.0.2\package.xml
Parsing D:\DevTools\Android\sdk\lldb\3.1\package.xml
Parsing D:\DevTools\Android\sdk\ndk-bundle\package.xml
Parsing D:\DevTools\Android\sdk\patcher\v4\package.xml
Parsing D:\DevTools\Android\sdk\platform-tools\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-10\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-14\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-20\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-21\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-22\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-23\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-24\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-25\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-26\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-27\package.xml
Parsing D:\DevTools\Android\sdk\platforms\android-28\package.xml
Parsing D:\DevTools\Android\sdk\sources\android-27\package.xml
Parsing D:\DevTools\Android\sdk\system-images\android-27\google_apis\x86\package.xml
Parsing D:\DevTools\Android\sdk\tools\package.xml
SDK initialized in 3158 ms
Evaluating project ':libcocos2dx' using build file 'D:\Training\TrainingCocos2dx\cocos2d\cocos\platform\android\libcocos2dx\build.gradle'.
Creating configuration compile
Creating configuration publish
Creating configuration provided
Creating configuration wearApp
Creating configuration annotationProcessor
Creating configuration jackPlugin
Creating configuration androidTestCompile
Creating configuration androidTestPublish
Creating configuration androidTestProvided
Creating configuration androidTestWearApp
Creating configuration androidTestAnnotationProcessor
Creating configuration androidTestJackPlugin
Creating configuration testCompile
Creating configuration testPublish
Creating configuration testProvided
Creating configuration testWearApp
Creating configuration testAnnotationProcessor
Creating configuration testJackPlugin
Creating configuration debugCompile
Creating configuration debugPublish
Creating configuration debugProvided
Creating configuration debugWearApp
Creating configuration debugAnnotationProcessor
Creating configuration debugJackPlugin
Creating configuration testDebugCompile
Creating configuration testDebugPublish
Creating configuration testDebugProvided
Creating configuration testDebugWearApp
Creating configuration testDebugAnnotationProcessor
Creating configuration testDebugJackPlugin
Creating configuration releaseCompile
Creating configuration releasePublish
Creating configuration releaseProvided
Creating configuration releaseWearApp
Creating configuration releaseAnnotationProcessor
Creating configuration releaseJackPlugin
Creating configuration testReleaseCompile
Creating configuration testReleasePublish
Creating configuration testReleaseProvided
Creating configuration testReleaseWearApp
Creating configuration testReleaseAnnotationProcessor
Creating configuration testReleaseJackPlugin
Parsing the SDK, no caching allowed
SDK initialized in 0 ms
Using incremental javac compilation for :libcocos2dx debug.
Incremental java compilation is an incubating feature.
Not using incremental javac compilation for :libcocos2dx debugUnitTest.
Using incremental javac compilation for :libcocos2dx release.
Not using incremental javac compilation for :libcocos2dx releaseUnitTest.
Not using incremental javac compilation for :libcocos2dx debugAndroidTest.
file or directory 'D:\Training\TrainingCocos2dx\proj.android-studio\app\libs', not found
file or directory 'D:\Training\TrainingCocos2dx\proj.android-studio\app\libs', not found
file or directory 'D:\Training\TrainingCocos2dx\proj.android-studio\app\libs', not found
file or directory 'D:\Training\TrainingCocos2dx\proj.android-studio\app\libs', not found
Using incremental javac compilation for :hello debug.
Not using incremental javac compilation for :hello debugUnitTest.
Using incremental javac compilation for :hello release.
Not using incremental javac compilation for :hello releaseUnitTest.
Not using incremental javac compilation for :hello debugAndroidTest.
All projects evaluated.
Selected primary task 'assembleDebug' from project :
Tasks to be executed: [task ':hello:preBuild', task ':hello:preDebugBuild', task ':hello:checkDebugManifest', task ':libcocos2dx:preBuild', task ':libcocos2dx:preReleaseBuild', task ':libcocos2dx:checkReleaseManifest', task ':libcocos2dx:prepareReleaseDependencies', task ':libcocos2dx:compileReleaseAidl', task ':libcocos2dx:compileReleaseNdk', task ':libcocos2dx:compileLint', task ':libcocos2dx:copyReleaseLint', task ':libcocos2dx:mergeReleaseShaders', task ':libcocos2dx:compileReleaseShaders', task ':libcocos2dx:generateReleaseAssets', task ':libcocos2dx:mergeReleaseAssets', task ':libcocos2dx:mergeReleaseProguardFiles', task ':libcocos2dx:packageReleaseRenderscript', task ':libcocos2dx:compileReleaseRenderscript', task ':libcocos2dx:generateReleaseResValues', task ':libcocos2dx:generateReleaseResources', task ':libcocos2dx:packageReleaseResources', task ':libcocos2dx:processReleaseManifest', task ':libcocos2dx:generateReleaseBuildConfig', task ':libcocos2dx:processReleaseResources', task ':libcocos2dx:generateReleaseSources', task ':libcocos2dx:incrementalReleaseJavaCompilationSafeguard', task ':libcocos2dx:javaPreCompileRelease', task ':libcocos2dx:compileReleaseJavaWithJavac', task ':libcocos2dx:processReleaseJavaRes', task ':libcocos2dx:transformResourcesWithMergeJavaResForRelease', task ':libcocos2dx:transformClassesAndResourcesWithSyncLibJarsForRelease', task ':libcocos2dx:mergeReleaseJniLibFolders', task ':libcocos2dx:transformNativeLibsWithMergeJniLibsForRelease', task ':libcocos2dx:transformNativeLibsWithStripDebugSymbolForRelease', task ':libcocos2dx:transformNativeLibsWithSyncJniLibsForRelease', task ':libcocos2dx:bundleRelease', task ':hello:prepareDebugDependencies', task ':hello:compileDebugAidl', task ':hello:compileDebugRenderscript', task ':hello:generateDebugBuildConfig', task ':hello:generateDebugResValues', task ':hello:generateDebugResources', task ':hello:mergeDebugResources', task ':hello:processDebugManifest', task ':hello:processDebugResources', task ':hello:generateDebugSources', task ':hello:incrementalDebugJavaCompilationSafeguard', task ':hello:javaPreCompileDebug', task ':hello:compileDebugJavaWithJavac', task ':hello:generateJsonModelDebug', task ':hello:externalNativeBuildDebug', task ':hello:compileDebugSources', task ':hello:mergeDebugShaders', task ':hello:compileDebugShaders', task ':hello:generateDebugAssets', task ':hello:mergeDebugAssets', task ':hello:transformClassesWithDexForDebug', task ':hello:mergeDebugJniLibFolders', task ':hello:transformNativeLibsWithMergeJniLibsForDebug', task ':hello:transformNativeLibsWithStripDebugSymbolForDebug', task ':hello:processDebugJavaRes', task ':hello:transformResourcesWithMergeJavaResForDebug', task ':hello:validateSigningDebug', task ':hello:packageDebug', task ':hello:assembleDebug', task ':libcocos2dx:preDebugBuild', task ':libcocos2dx:checkDebugManifest', task ':libcocos2dx:prepareDebugDependencies', task ':libcocos2dx:compileDebugAidl', task ':libcocos2dx:compileDebugNdk', task ':libcocos2dx:copyDebugLint', task ':libcocos2dx:mergeDebugShaders', task ':libcocos2dx:compileDebugShaders', task ':libcocos2dx:generateDebugAssets', task ':libcocos2dx:mergeDebugAssets', task ':libcocos2dx:mergeDebugProguardFiles', task ':libcocos2dx:packageDebugRenderscript', task ':libcocos2dx:compileDebugRenderscript', task ':libcocos2dx:generateDebugResValues', task ':libcocos2dx:generateDebugResources', task ':libcocos2dx:packageDebugResources', task ':libcocos2dx:processDebugManifest', task ':libcocos2dx:generateDebugBuildConfig', task ':libcocos2dx:processDebugResources', task ':libcocos2dx:generateDebugSources', task ':libcocos2dx:incrementalDebugJavaCompilationSafeguard', task ':libcocos2dx:javaPreCompileDebug', task ':libcocos2dx:compileDebugJavaWithJavac', task ':libcocos2dx:processDebugJavaRes', task ':libcocos2dx:transformResourcesWithMergeJavaResForDebug', task ':libcocos2dx:transformClassesAndResourcesWithSyncLibJarsForDebug', task ':libcocos2dx:mergeDebugJniLibFolders', task ':libcocos2dx:transformNativeLibsWithMergeJniLibsForDebug', task ':libcocos2dx:transformNativeLibsWithStripDebugSymbolForDebug', task ':libcocos2dx:transformNativeLibsWithSyncJniLibsForDebug', task ':libcocos2dx:bundleDebug', task ':libcocos2dx:compileDebugSources', task ':libcocos2dx:assembleDebug']
Creating new cache for fileHashes, path D:\Training\TrainingCocos2dx\proj.android-studio\.gradle\3.3\taskArtifacts\fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess@458d7cd6
Creating new cache for fileSnapshots, path D:\Training\TrainingCocos2dx\proj.android-studio\.gradle\3.3\taskArtifacts\fileSnapshots.bin, access org.gradle.cache.internal.DefaultCacheAccess@458d7cd6
Creating new cache for taskArtifacts, path D:\Training\TrainingCocos2dx\proj.android-studio\.gradle\3.3\taskArtifacts\taskArtifacts.bin, access org.gradle.cache.internal.DefaultCacheAccess@458d7cd6
:hello:preBuild (Thread[Task worker,5,main]) started.
:libcocos2dx:preBuild (Thread[Daemon worker,5,main]) started.
:libcocos2dx:preBuild
:hello:preBuild
Skipping task ':libcocos2dx:preBuild' as it has no actions.
Skipping task ':hello:preBuild' as it has no actions.
:libcocos2dx:preBuild UP-TO-DATE
:hello:preBuild UP-TO-DATE
:libcocos2dx:preBuild (Thread[Daemon worker,5,main]) completed. Took 0.01 secs.
:libcocos2dx:preReleaseBuild (Thread[Task worker Thread 2,5,main]) started.
:hello:preBuild (Thread[Task worker,5,main]) completed. Took 0.011 secs.
:hello:preDebugBuild (Thread[Task worker,5,main]) started.
:hello:preDebugBuild
Skipping task ':hello:preDebugBuild' as it has no actions.
:hello:preDebugBuild UP-TO-DATE
:hello:preDebugBuild (Thread[Task worker,5,main]) completed. Took 0.0 secs.
:libcocos2dx:preReleaseBuild
:hello:checkDebugManifest (Thread[Task worker,5,main]) started.
Skipping task ':libcocos2dx:preReleaseBuild' as it has no actions.
:libcocos2dx:preReleaseBuild UP-TO-DATE
:hello:checkDebugManifest
:libcocos2dx:preReleaseBuild (Thread[Task worker Thread 2,5,main]) completed. Took 0.004 secs.
:libcocos2dx:checkReleaseManifest (Thread[Daemon worker,5,main]) started.
:libcocos2dx:checkReleaseManifest
Putting task artifact state for task ':hello:checkDebugManifest' into context took 0.002 secs.
Putting task artifact state for task ':libcocos2dx:checkReleaseManifest' into context took 0.001 secs.
Executing task ':libcocos2dx:checkReleaseManifest' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
Executing task ':hello:checkDebugManifest' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
:libcocos2dx:checkReleaseManifest (Thread[Daemon worker,5,main]) completed. Took 0.003 secs.
:libcocos2dx:prepareReleaseDependencies (Thread[Daemon worker,5,main]) started.
:libcocos2dx:prepareReleaseDependencies
Putting task artifact state for task ':libcocos2dx:prepareReleaseDependencies' into context took 0.0 secs.
Executing task ':libcocos2dx:prepareReleaseDependencies' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
:hello:checkDebugManifest (Thread[Task worker,5,main]) completed. Took 0.006 secs.
:hello:generateDebugBuildConfig (Thread[Task worker Thread 2,5,main]) started.
:libcocos2dx:prepareReleaseDependencies (Thread[Daemon worker,5,main]) completed. Took 0.001 secs.
:hello:generateDebugBuildConfig
:libcocos2dx:compileReleaseAidl (Thread[Task worker Thread 3,5,main]) started.
:libcocos2dx:compileReleaseAidl
Putting task artifact state for task ':hello:generateDebugBuildConfig' into context took 0.018 secs.
Putting task artifact state for task ':libcocos2dx:compileReleaseAidl' into context took 0.016 secs.
Task :libcocos2dx:compileReleaseAidl class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:compileReleaseAidl actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Task :hello:generateDebugBuildConfig class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :hello:generateDebugBuildConfig actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':hello:generateDebugBuildConfig' as it is up-to-date (took 0.034 secs).
:hello:generateDebugBuildConfig UP-TO-DATE
:hello:generateDebugBuildConfig (Thread[Task worker Thread 2,5,main]) completed. Took 0.077 secs.
Skipping task ':libcocos2dx:compileReleaseAidl' as it is up-to-date (took 0.056 secs).
:libcocos2dx:compileReleaseAidl UP-TO-DATE
:hello:generateDebugResValues (Thread[Task worker Thread 2,5,main]) started.
:hello:generateDebugResValues
Putting task artifact state for task ':hello:generateDebugResValues' into context took 0.001 secs.
:libcocos2dx:compileReleaseAidl (Thread[Task worker Thread 3,5,main]) completed. Took 0.078 secs.
Task :hello:generateDebugResValues class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :hello:generateDebugResValues actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
:libcocos2dx:compileReleaseNdk (Thread[Task worker Thread 3,5,main]) started.
:libcocos2dx:compileReleaseNdk
Putting task artifact state for task ':libcocos2dx:compileReleaseNdk' into context took 0.001 secs.
Skipping task ':libcocos2dx:compileReleaseNdk' as it has no source files and no previous output files.
:libcocos2dx:compileReleaseNdk UP-TO-DATE
:libcocos2dx:compileReleaseNdk (Thread[Task worker Thread 3,5,main]) completed. Took 0.002 secs.
:libcocos2dx:compileLint (Thread[Task worker Thread 3,5,main]) started.
:libcocos2dx:compileLint
Skipping task ':hello:generateDebugResValues' as it is up-to-date (took 0.004 secs).
:hello:generateDebugResValues UP-TO-DATE
:hello:generateDebugResValues (Thread[Task worker Thread 2,5,main]) completed. Took 0.006 secs.
:hello:incrementalDebugJavaCompilationSafeguard (Thread[Task worker Thread 2,5,main]) started.
Putting task artifact state for task ':libcocos2dx:compileLint' into context took 0.004 secs.
Task :libcocos2dx:compileLint class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:compileLint actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':libcocos2dx:compileLint' as it is up-to-date (took 0.003 secs).
:libcocos2dx:compileLint UP-TO-DATE
:libcocos2dx:compileLint (Thread[Task worker Thread 3,5,main]) completed. Took 0.011 secs.
:libcocos2dx:copyReleaseLint (Thread[Task worker Thread 3,5,main]) started.
:libcocos2dx:copyReleaseLint
Putting task artifact state for task ':libcocos2dx:copyReleaseLint' into context took 0.0 secs.
Skipping task ':libcocos2dx:copyReleaseLint' as it has no source files and no previous output files.
:libcocos2dx:copyReleaseLint UP-TO-DATE
:libcocos2dx:copyReleaseLint (Thread[Task worker Thread 3,5,main]) completed. Took 0.002 secs.
:libcocos2dx:mergeReleaseShaders (Thread[Task worker Thread 3,5,main]) started.
:libcocos2dx:mergeReleaseShaders
Putting task artifact state for task ':libcocos2dx:mergeReleaseShaders' into context took 0.001 secs.
:hello:incrementalDebugJavaCompilationSafeguard
Putting task artifact state for task ':hello:incrementalDebugJavaCompilationSafeguard' into context took 0.001 secs.
file or directory 'D:\Training\TrainingCocos2dx\proj.android-studio\app\build\generated\source\r\debug', not found
Task :hello:incrementalDebugJavaCompilationSafeguard class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :hello:incrementalDebugJavaCompilationSafeguard actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
file or directory 'D:\Training\TrainingCocos2dx\proj.android-studio\app\build\generated\source\r\debug', not found
Task :libcocos2dx:mergeReleaseShaders class loader hash: 4d255641031f606b1ae3b4e2f5085ece
file or directory 'D:\Training\TrainingCocos2dx\proj.android-studio\app\build\generated\source\aidl\debug', not found
file or directory 'D:\Training\TrainingCocos2dx\proj.android-studio\app\build\generated\source\rs\debug', not found
Task :libcocos2dx:mergeReleaseShaders actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':hello:incrementalDebugJavaCompilationSafeguard' as it is up-to-date (took 0.005 secs).
:hello:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:hello:incrementalDebugJavaCompilationSafeguard (Thread[Task worker Thread 2,5,main]) completed. Took 0.012 secs.
:hello:javaPreCompileDebug (Thread[Task worker Thread 2,5,main]) started.
:hello:javaPreCompileDebug
Putting task artifact state for task ':hello:javaPreCompileDebug' into context took 0.0 secs.
Executing task ':hello:javaPreCompileDebug' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
:hello:javaPreCompileDebug (Thread[Task worker Thread 2,5,main]) completed. Took 0.001 secs.
:hello:generateJsonModelDebug (Thread[Task worker Thread 2,5,main]) started.
:hello:generateJsonModelDebug
Putting task artifact state for task ':hello:generateJsonModelDebug' into context took 0.0 secs.
Task :hello:generateJsonModelDebug class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :hello:generateJsonModelDebug actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Executing task ':hello:generateJsonModelDebug' (up-to-date check took 0.003 secs) due to:
  No history is available.
External native generate JSON debug: starting JSON generation
External native generate JSON debug: bringing JSONs up-to-date
Skipping task ':libcocos2dx:mergeReleaseShaders' as it is up-to-date (took 0.023 secs).
:libcocos2dx:mergeReleaseShaders UP-TO-DATE
:libcocos2dx:mergeReleaseShaders (Thread[Task worker Thread 3,5,main]) completed. Took 0.025 secs.
:libcocos2dx:compileReleaseShaders (Thread[Daemon worker,5,main]) started.
:libcocos2dx:compileReleaseShaders
Putting task artifact state for task ':libcocos2dx:compileReleaseShaders' into context took 0.008 secs.
Task :libcocos2dx:compileReleaseShaders class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:compileReleaseShaders actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':libcocos2dx:compileReleaseShaders' as it is up-to-date (took 0.006 secs).
:libcocos2dx:compileReleaseShaders UP-TO-DATE
:libcocos2dx:compileReleaseShaders (Thread[Daemon worker,5,main]) completed. Took 0.015 secs.
:libcocos2dx:generateReleaseAssets (Thread[Daemon worker,5,main]) started.
:libcocos2dx:generateReleaseAssets
Skipping task ':libcocos2dx:generateReleaseAssets' as it has no actions.
:libcocos2dx:generateReleaseAssets UP-TO-DATE
:libcocos2dx:generateReleaseAssets (Thread[Daemon worker,5,main]) completed. Took 0.002 secs.
:libcocos2dx:mergeReleaseAssets (Thread[Task worker Thread 3,5,main]) started.
:libcocos2dx:mergeReleaseAssets
Putting task artifact state for task ':libcocos2dx:mergeReleaseAssets' into context took 0.0 secs.
Task :libcocos2dx:mergeReleaseAssets class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:mergeReleaseAssets actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':libcocos2dx:mergeReleaseAssets' as it is up-to-date (took 0.005 secs).
:libcocos2dx:mergeReleaseAssets UP-TO-DATE
:libcocos2dx:mergeReleaseAssets (Thread[Task worker Thread 3,5,main]) completed. Took 0.008 secs.
:libcocos2dx:mergeReleaseProguardFiles (Thread[Task worker,5,main]) started.
:libcocos2dx:mergeReleaseProguardFiles
Putting task artifact state for task ':libcocos2dx:mergeReleaseProguardFiles' into context took 0.002 secs.
Task :libcocos2dx:mergeReleaseProguardFiles class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:mergeReleaseProguardFiles actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':libcocos2dx:mergeReleaseProguardFiles' as it is up-to-date (took 0.002 secs).
:libcocos2dx:mergeReleaseProguardFiles UP-TO-DATE
:libcocos2dx:mergeReleaseProguardFiles (Thread[Task worker,5,main]) completed. Took 0.006 secs.
:libcocos2dx:packageReleaseRenderscript (Thread[Daemon worker,5,main]) started.
:libcocos2dx:packageReleaseRenderscript
Putting task artifact state for task ':libcocos2dx:packageReleaseRenderscript' into context took 0.001 secs.
Skipping task ':libcocos2dx:packageReleaseRenderscript' as it has no source files and no previous output files.
:libcocos2dx:packageReleaseRenderscript UP-TO-DATE
:libcocos2dx:packageReleaseRenderscript (Thread[Daemon worker,5,main]) completed. Took 0.001 secs.
:libcocos2dx:compileReleaseRenderscript (Thread[Daemon worker,5,main]) started.
:libcocos2dx:compileReleaseRenderscript
Putting task artifact state for task ':libcocos2dx:compileReleaseRenderscript' into context took 0.002 secs.
Task :libcocos2dx:compileReleaseRenderscript class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:compileReleaseRenderscript actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':libcocos2dx:compileReleaseRenderscript' as it is up-to-date (took 0.009 secs).
:libcocos2dx:compileReleaseRenderscript UP-TO-DATE
:libcocos2dx:compileReleaseRenderscript (Thread[Daemon worker,5,main]) completed. Took 0.012 secs.
:libcocos2dx:generateReleaseResValues (Thread[Task worker Thread 3,5,main]) started.
:libcocos2dx:generateReleaseResValues
Putting task artifact state for task ':libcocos2dx:generateReleaseResValues' into context took 0.002 secs.
Task :libcocos2dx:generateReleaseResValues class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:generateReleaseResValues actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':libcocos2dx:generateReleaseResValues' as it is up-to-date (took 0.002 secs).
:libcocos2dx:generateReleaseResValues UP-TO-DATE
:libcocos2dx:generateReleaseResValues (Thread[Task worker Thread 3,5,main]) completed. Took 0.004 secs.
:libcocos2dx:generateReleaseResources (Thread[Task worker Thread 3,5,main]) started.
:libcocos2dx:generateReleaseResources
Skipping task ':libcocos2dx:generateReleaseResources' as it has no actions.
:libcocos2dx:generateReleaseResources UP-TO-DATE
:libcocos2dx:generateReleaseResources (Thread[Task worker Thread 3,5,main]) completed. Took 0.0 secs.
:libcocos2dx:packageReleaseResources (Thread[Task worker Thread 3,5,main]) started.
:libcocos2dx:packageReleaseResources
Putting task artifact state for task ':libcocos2dx:packageReleaseResources' into context took 0.002 secs.
Task :libcocos2dx:packageReleaseResources class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:packageReleaseResources actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':libcocos2dx:packageReleaseResources' as it is up-to-date (took 0.008 secs).
:libcocos2dx:packageReleaseResources UP-TO-DATE
:libcocos2dx:packageReleaseResources (Thread[Task worker Thread 3,5,main]) completed. Took 0.012 secs.
:libcocos2dx:processReleaseManifest (Thread[Daemon worker,5,main]) started.
:libcocos2dx:processReleaseManifest
Putting task artifact state for task ':libcocos2dx:processReleaseManifest' into context took 0.001 secs.
Task :libcocos2dx:processReleaseManifest class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:processReleaseManifest actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':libcocos2dx:processReleaseManifest' as it is up-to-date (took 0.008 secs).
:libcocos2dx:processReleaseManifest UP-TO-DATE
:libcocos2dx:processReleaseManifest (Thread[Daemon worker,5,main]) completed. Took 0.013 secs.
:libcocos2dx:generateReleaseBuildConfig (Thread[Daemon worker,5,main]) started.
:libcocos2dx:generateReleaseBuildConfig
Putting task artifact state for task ':libcocos2dx:generateReleaseBuildConfig' into context took 0.001 secs.
Task :libcocos2dx:generateReleaseBuildConfig class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:generateReleaseBuildConfig actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':libcocos2dx:generateReleaseBuildConfig' as it is up-to-date (took 0.004 secs).
:libcocos2dx:generateReleaseBuildConfig UP-TO-DATE
:libcocos2dx:generateReleaseBuildConfig (Thread[Daemon worker,5,main]) completed. Took 0.005 secs.
:libcocos2dx:processReleaseResources (Thread[Daemon worker,5,main]) started.
:libcocos2dx:processReleaseResources
Putting task artifact state for task ':libcocos2dx:processReleaseResources' into context took 0.002 secs.
Task :libcocos2dx:processReleaseResources class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:processReleaseResources actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
Skipping task ':libcocos2dx:processReleaseResources' as it is up-to-date (took 0.011 secs).
:libcocos2dx:processReleaseResources UP-TO-DATE
:libcocos2dx:processReleaseResources (Thread[Daemon worker,5,main]) completed. Took 0.015 secs.
:libcocos2dx:generateReleaseSources (Thread[Daemon worker,5,main]) started.
:libcocos2dx:generateReleaseSources
Skipping task ':libcocos2dx:generateReleaseSources' as it has no actions.
:libcocos2dx:generateReleaseSources UP-TO-DATE
:libcocos2dx:generateReleaseSources (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.
:libcocos2dx:incrementalReleaseJavaCompilationSafeguard (Thread[Task worker,5,main]) started.
:libcocos2dx:incrementalReleaseJavaCompilationSafeguard
Putting task artifact state for task ':libcocos2dx:incrementalReleaseJavaCompilationSafeguard' into context took 0.0 secs.
External native generate JSON debug: using platform version 14 for ABI ARMEABI and min SDK version 10
Task :libcocos2dx:incrementalReleaseJavaCompilationSafeguard class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:incrementalReleaseJavaCompilationSafeguard actions class loader hash: e567cca50fa9e6dac986cbf3b475ed2f
External native generate JSON debug: rebuilding JSON D:\Training\TrainingCocos2dx\proj.android-studio\app\.externalNativeBuild\ndkBuild\debug\armeabi\android_gradle_build.json due to:
External native generate JSON debug: - dependent build file missing or changed
External native generate JSON debug: - missing previous command file D:\Training\TrainingCocos2dx\proj.android-studio\app\.externalNativeBuild\ndkBuild\debug\armeabi\ndkBuild_build_command.txt
External native generate JSON debug: removing stale contents from 'D:\Training\TrainingCocos2dx\proj.android-studio\app\.externalNativeBuild\ndkBuild\debug\armeabi'
External native generate JSON debug: created folder 'D:\Training\TrainingCocos2dx\proj.android-studio\app\.externalNativeBuild\ndkBuild\debug\armeabi'
External native generate JSON debug: executing ndkBuild Executable : D:\DevTools\Android\sdk\ndk-bundle\ndk-build.cmd
arguments :
NDK_PROJECT_PATH=null
APP_BUILD_SCRIPT=D:\Training\TrainingCocos2dx\proj.android-studio\app\jni\Android.mk
NDK_APPLICATION_MK=D:\Training\TrainingCocos2dx\proj.android-studio\app\jni\Application.mk
APP_ABI=armeabi
NDK_ALL_ABIS=armeabi
NDK_DEBUG=1
APP_PLATFORM=android-14
NDK_OUT=D:/Training/TrainingCocos2dx/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj
NDK_LIBS_OUT=D:\Training\TrainingCocos2dx\proj.android-studio\app\build\intermediates\ndkBuild\debug\lib
NDK_TOOLCHAIN_VERSION=4.9
APP_PLATFORM=android-10
NDK_MODULE_PATH=D:/Training/TrainingCocos2dx/cocos2d;D:/Training/TrainingCocos2dx/cocos2d/cocos;D:/Training/TrainingCocos2dx/cocos2d/external
-j4
NDK_DEBUG=1
APP_SHORT_COMMANDS=false
LOCAL_SHORT_COMMANDS=false
-B
-n
jvmArgs :


Executable : D:\DevTools\Android\sdk\ndk-bundle\ndk-build.cmd
arguments :
NDK_PROJECT_PATH=null
APP_BUILD_SCRIPT=D:\Training\TrainingCocos2dx\proj.android-studio\app\jni\Android.mk
NDK_APPLICATION_MK=D:\Training\TrainingCocos2dx\proj.android-studio\app\jni\Application.mk
APP_ABI=armeabi
NDK_ALL_ABIS=armeabi
NDK_DEBUG=1
APP_PLATFORM=android-14
NDK_OUT=D:/Training/TrainingCocos2dx/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj
NDK_LIBS_OUT=D:\Training\TrainingCocos2dx\proj.android-studio\app\build\intermediates\ndkBuild\debug\lib
NDK_TOOLCHAIN_VERSION=4.9
APP_PLATFORM=android-10
NDK_MODULE_PATH=D:/Training/TrainingCocos2dx/cocos2d;D:/Training/TrainingCocos2dx/cocos2d/cocos;D:/Training/TrainingCocos2dx/cocos2d/external
-j4
NDK_DEBUG=1
APP_SHORT_COMMANDS=false
LOCAL_SHORT_COMMANDS=false
-B
-n
jvmArgs :


Executing task ':libcocos2dx:incrementalReleaseJavaCompilationSafeguard' (up-to-date check took 0.008 secs) due to:
  No history is available.
All input files are considered out-of-date for incremental task ':libcocos2dx:incrementalReleaseJavaCompilationSafeguard'.
Starting process 'command 'D:\DevTools\Android\sdk\ndk-bundle\ndk-build.cmd''. Working directory: D:\Training\TrainingCocos2dx\proj.android-studio\app Command: D:\DevTools\Android\sdk\ndk-bundle\ndk-build.cmd NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\Training\TrainingCocos2dx\proj.android-studio\app\jni\Android.mk NDK_APPLICATION_MK=D:\Training\TrainingCocos2dx\proj.android-studio\app\jni\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=D:/Training/TrainingCocos2dx/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\Training\TrainingCocos2dx\proj.android-studio\app\build\intermediates\ndkBuild\debug\lib NDK_TOOLCHAIN_VERSION=4.9 APP_PLATFORM=android-10 NDK_MODULE_PATH=D:/Training/TrainingCocos2dx/cocos2d;D:/Training/TrainingCocos2dx/cocos2d/cocos;D:/Training/TrainingCocos2dx/cocos2d/external -j4 NDK_DEBUG=1 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n
Successfully started process 'command 'D:\DevTools\Android\sdk\ndk-bundle\ndk-build.cmd''
:libcocos2dx:incrementalReleaseJavaCompilationSafeguard (Thread[Task worker,5,main]) completed. Took 0.29 secs.
:libcocos2dx:javaPreCompileRelease (Thread[Task worker,5,main]) started.
:libcocos2dx:javaPreCompileRelease
Putting task artifact state for task ':libcocos2dx:javaPreCompileRelease' into context took 0.0 secs.
Executing task ':libcocos2dx:javaPreCompileRelease' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
:libcocos2dx:javaPreCompileRelease (Thread[Task worker,5,main]) completed. Took 0.001 secs.
:libcocos2dx:compileReleaseJavaWithJavac (Thread[Task worker,5,main]) started.
:libcocos2dx:compileReleaseJavaWithJavac
Putting task artifact state for task ':libcocos2dx:compileReleaseJavaWithJavac' into context took 0.001 secs.
file or directory 'D:\Training\TrainingCocos2dx\cocos2d\cocos\platform\android\libcocos2dx\src\main\java', not found
Task :libcocos2dx:compileReleaseJavaWithJavac class loader hash: 4d255641031f606b1ae3b4e2f5085ece
Task :libcocos2dx:compileReleaseJavaWithJavac actions class loader hash: 18198991b357e4282b88db10fdb1e992
file or directory 'D:\Training\TrainingCocos2dx\cocos2d\cocos\platform\android\libcocos2dx\src\main\java', not found
file or directory 'D:\Training\TrainingCocos2dx\cocos2d\cocos\platform\android\libcocos2dx\src\release\java', not found
Executing task ':libcocos2dx:compileReleaseJavaWithJavac' (up-to-date check took 0.452 secs) due to:
  No history is available.
All input files are considered out-of-date for incremental task ':libcocos2dx:compileReleaseJavaWithJavac'.
Compiling with source level 1.6 and target level 1.6.
Creating new cache for classAnalysis, path C:\Users\hieu.trantrung3\.gradle\caches\3.3\classAnalysis\classAnalysis.bin, access org.gradle.cache.internal.DefaultCacheAccess@890a4ae
Creating new cache for jarSnapshots, path C:\Users\hieu.trantrung3\.gradle\caches\3.3\jarSnapshots\jarSnapshots.bin, access org.gradle.cache.internal.DefaultCacheAccess@320dc5
:libcocos2dx:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
file or directory 'D:\Training\TrainingCocos2dx\cocos2d\cocos\platform\android\libcocos2dx\src\main\java', not found
file or directory 'D:\Training\TrainingCocos2dx\cocos2d\cocos\platform\android\libcocos2dx\src\release\java', not found
Compiling with JDK Java compiler API.
process_begin: CreateProcess(NULL, "", ...) failed.
D:/DevTools/Android/sdk/ndk-bundle/build//../build/core/init.mk:537: *** Android NDK: Aborting...    .  Stop.
External native generate JSON debug: build complete
External native generate JSON debug: build completed with problems
:hello:generateJsonModelDebug FAILED
:hello:generateJsonModelDebug (Thread[Task worker Thread 2,5,main]) completed. Took 1.2 secs.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Creating new cache for localClassSetAnalysis, path D:\Training\TrainingCocos2dx\proj.android-studio\.gradle\3.3\tasks\_libcocos2dx_compileReleaseJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin, access org.gradle.cache.internal.DefaultCacheAccess@40fb34c0
Class dependency analysis for incremental compilation took 0.061 secs.
Created jar classpath snapshot for incremental compilation in 0.021 secs.
Creating new cache for localJarClasspathSnapshot, path D:\Training\TrainingCocos2dx\proj.android-studio\.gradle\3.3\tasks\_libcocos2dx_compileReleaseJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin, access org.gradle.cache.internal.DefaultCacheAccess@151538c5
Written jar classpath snapshot for incremental compilation in 0.01 secs.
:libcocos2dx:compileReleaseJavaWithJavac (Thread[Task worker,5,main]) completed. Took 2.139 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':hello:generateJsonModelDebug'.
> Build command failed.
Error while executing process D:\DevTools\Android\sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\Training\TrainingCocos2dx\proj.android-studio\app\jni\Android.mk NDK_APPLICATION_MK=D:\Training\TrainingCocos2dx\proj.android-studio\app\jni\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=D:/Training/TrainingCocos2dx/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\Training\TrainingCocos2dx\proj.android-studio\app\build\intermediates\ndkBuild\debug\lib NDK_TOOLCHAIN_VERSION=4.9 APP_PLATFORM=android-10 NDK_MODULE_PATH=D:/Training/TrainingCocos2dx/cocos2d;D:/Training/TrainingCocos2dx/cocos2d/cocos;D:/Training/TrainingCocos2dx/cocos2d/external -j4 NDK_DEBUG=1 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
Android NDK: INTERNAL ERROR: The armeabi ABI should have exactly one architecture definitions. Found: ''
process_begin: CreateProcess(NULL, "", ...) failed.
D:/DevTools/Android/sdk/ndk-bundle/build//../build/core/init.mk:537: *** Android NDK: Aborting...    .  Stop.


* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 21.276 secs
Stopped 0 worker daemon(s).
Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':hello:generateJsonModelDebug'.] from daemon DaemonInfo{pid=13720, address=[72ebeb30-43c4-4584-9b90-45e1c4116a39 port:54368, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Busy, lastBusy=1532339147582, context=DefaultDaemonContext[uid=8a839232-c625-4981-b7e9-627e67793f3b,javaHome=C:\Program Files\Java\jdk1.8.0_101,daemonRegistryDir=C:\Users\hieu.trantrung3\.gradle\daemon,pid=13720,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).
Error running command, return code: 1.
Press any key to continue . . .
@trunghieuvn
Copy link
Owner Author

lỗi sử dụng sai version Android NDK
Cách fix: xét lại đường dẫn của ndk
set NDK_ROOT=D:\DevTools\Android\android-ndk-r10e
set CUR_PATH=%~dp0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant