编译报这个错求大神解答
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:SDKDemo:externalNativeBuildRelease’.
Build command failed.
Error while executing process /Users/logan/Documents/android-ndk-r21/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Users/logan/Documents/work/chexuan/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/Android.mk NDK_APPLICATION_MK=/Users/logan/Documents/work/chexuan/build/jsb-link/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-17 NDK_OUT=/Users/logan/Documents/work/chexuan/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/Users/logan/Documents/work/chexuan/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/release/lib NDK_TOOLCHAIN_VERSION=clang NDK_MODULE_PATH=/Applications/CocosCreator2.app/Contents/Resources/cocos2d-x:/Applications/CocosCreator2.app/Contents/Resources/cocos2d-x/cocos:/Applications/CocosCreator2.app/Contents/Resources/cocos2d-x/external -j12 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 4s