Issue
Build command failed.
Error while executing process C:\Users\Abir CSE\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\TBL Office Project\ASS\library\src\main\cpp\Android.mk NDK_APPLICATION_MK=D:\TBL Office Project\ASS\library\src\main\cpp\Application.mk APP_ABI=arm64-v8a NDK_ALL_ABIS=arm64-v8a NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=D:/TBL Office Project/ASS/library/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\TBL Office Project\ASS\library\build\intermediates\ndkBuild\debug\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
'C:\Users\Abir' is not recognized as an internal or external command,
operable program or batch file.
Solution
For Android NDK, no paths may include spaces. This refers to:
- project root
- directory names inside the project
- paths to 3rd party libraries and dependency projects
- path to Android SDK
- path to NDK itself
In your case, Android SDK was installed in C:\Users\Abir CSE\AppData\Local\Android. Move it to a directory outside your %HOME%.
Answered By - Alex Cohn
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.