Error while executing process

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路径没有错啊。检查了好几遍。百度看了好多解决方案。都不行
真的难受。

这是把creator工程构建到Android Studio产生的报错。莫名其妙啊。。

同问,我是接呀呀语音遇到的,可能是修改Android.mk文件导致的。

@hom_king
如果不是实时语音,而是即时语音的话,可以自己弄,便宜不说,还不用去接第三方语音SDK。
实时语音:指的是像打语音电话一样,
即时语音:指的是像发语音消息一样。

解决了没有?同问