Build command failed.
Error while executing process /Users/yanpan/Library/Android/sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Users/yanpan/Documents/GitHub/planet_client/planet_client/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/Android.mk NDK_APPLICATION_MK=/Users/yanpan/Documents/GitHub/planet_client/planet_client/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/Application.mk APP_ABI=x86 NDK_ALL_ABIS=x86 NDK_DEBUG=1 APP_PLATFORM=android-19 NDK_OUT=/Users/yanpan/Documents/GitHub/planet_client/planet_client/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/Users/yanpan/Documents/GitHub/planet_client/planet_client/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/debug/lib NDK_TOOLCHAIN_VERSION=4.9 NDK_MODULE_PATH=/Applications/CocosCreator.app/Contents/Resources/cocos2d-x:/Applications/CocosCreator.app/Contents/Resources/cocos2d-x/cocos:/Applications/CocosCreator.app/Contents/Resources/cocos2d-x/external -j4 NDK_DEBUG=1 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
Android NDK: WARNING: Ignoring unknown import directory: /Applications/CocosCreator.app/Contents/Resources/cocos2d-x/external
Android NDK: /Users/yanpan/Documents/GitHub/planet_client/planet_client/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/Android.mk: Cannot find module with tag ‘cocos’ in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
*** Android NDK: Aborting. . Stop.
Open File
Build command failed.
Error while executing process /Users/yanpan/Library/Android/sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Users/yanpan/Documents/GitHub/planet_client/planet_client/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/Android.mk NDK_APPLICATION_MK=/Users/yanpan/Documents/GitHub/planet_client/planet_client/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/Application.mk APP_ABI=x86 NDK_ALL_ABIS=x86 NDK_DEBUG=0 APP_PLATFORM=android-19 NDK_OUT=/Users/yanpan/Documents/GitHub/planet_client/planet_client/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/Users/yanpan/Documents/GitHub/planet_client/planet_client/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/release/lib NDK_TOOLCHAIN_VERSION=4.9 NDK_MODULE_PATH=/Applications/CocosCreator.app/Contents/Resources/cocos2d-x:/Applications/CocosCreator.app/Contents/Resources/cocos2d-x/cocos:/Applications/CocosCreator.app/Contents/Resources/cocos2d-x/external -j4 NDK_DEBUG=0 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
Android NDK: WARNING: Ignoring unknown import directory: /Applications/CocosCreator.app/Contents/Resources/cocos2d-x/external
Android NDK: /Users/yanpan/Documents/GitHub/planet_client/planet_client/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/Android.mk: Cannot find module with tag ‘cocos’ in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
*** Android NDK: Aborting. . Stop.
Open File
Unable to resolve dependency for ‘:BitMan@debug/compileClasspath’: Could not resolve project :libcocos2dx.
Open File
Show Details
Unable to resolve dependency for ‘:BitMan@debugAndroidTest/compileClasspath’: Could not resolve project :libcocos2dx.
Open File
Show Details
Unable to resolve dependency for ‘:BitMan@debugUnitTest/compileClasspath’: Could not resolve project :libcocos2dx.
Open File
Show Details
Unable to resolve dependency for ‘:BitMan@release/compileClasspath’: Could not resolve project :libcocos2dx.
Open File
Show Details
Unable to resolve dependency for ‘:BitMan@releaseUnitTest/compileClasspath’: Could not resolve project :libcocos2dx.
Open File
Show Details
谁来告诉我这一堆报错到底是啥啊!!!搞了2天了。心态崩了。
我的NDK路径没有错啊。检查了好几遍。百度看了好多解决方案。都不行
真的难受。