-
Creator 版本:creator3D 1.2
-
目标平台:安卓
-
首个报错:
Task :the-ball-hit-the-tower:externalNativeBuildRelease
Build cocos2djs_armeabi-v7a
make: *** No rule to make target ‘cocos2djs’. Stop.
Task :the-ball-hit-the-tower:externalNativeBuildRelease FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:the-ball-hit-the-tower:externalNativeBuildRelease’.
Build command failed.
Error while executing process D:\Tool\android\android-sdk\ndk\21.4.7075529\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\Cocos\the-ball-hit-the-tower\build\android-001\frameworks\runtime-src\proj.android-studio\app\jni\Android.mk NDK_APPLICATION_MK=D:\Cocos\the-ball-hit-the-tower\build\android-001\frameworks\runtime-src\proj.android-studio\app\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=0 APP_PLATFORM=android-16 NDK_OUT=D:/Cocos/the-ball-hit-the-tower/build/android-001/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=D:\Cocos\the-ball-hit-the-tower\build\android-001\frameworks\runtime-src\proj.android-studio\app\build\intermediates\ndkBuild\release\lib NDK_TOOLCHAIN_VERSION=clang NDK_MODULE_PATH=d:\Tool\CocosDashboard\resources.editors\Creator3D\1.2.0\resources\resources\3d\cocos2d-x-lite;d:\Tool\CocosDashboard\resources.editors\Creator3D\1.2.0\resources\resources\3d\cocos2d-x-lite\cocos;d:\Tool\CocosDashboard\resources.editors\Creator3D\1.2.0\resources\resources\3d\cocos2d-x-lite\external -j8 NDK_DEBUG=0 cocos2djs}
make: *** No rule to make target ‘cocos2djs’. Stop.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 6s
25 actionable tasks: 4 executed, 21 up-to-date
- 之前哪个版本是正常的: gradle3.2.0是正常的 换到gradle4.0.1后报错 因为接入穿山甲SDK需要更新到gradle4.0.1