This is a Strange behavior that I noticed. I cloned the repo and built the ShadowSock Android client app, Everything worked fine until I changed the Windows machine. When I try to build the app on a new Windows machine I got an error "[CXX1405] error when building with ndkBuild using \Core\src\main\jni\Android.mk:"
"Error while executing process C:\Users\Username\AppData\Local\Android\Sdk\ndk\21.4.7075529\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=\core\src\main\jni\Android.mk NDK_APPLICATION_MK=\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-23 NDK_OUT=\shadow_lib\build\intermediates\cxx\Debug\ct4s171k/obj NDK_LIBS_OUT=\core\build\intermediates\cxx\Debug\ct4s171k/lib -j2 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
"
" Build command failed. 'C:\Users\Username' is not recognized as an internal or external command,operable program or batch file."
Then I tried to build the Client App on Another machine and it worked fine. I Run the build on both Ubuntu and windows only some Windows Machines are throwing this error (More than one Machine), So I'm not sure exactly what went wrong here, Would appreciate any help with this issue.
Edit:
I realize only those Window machine were throwing this bug which doesn't have Visual Studio installed. (Install Visual Studio with c++ if any one else got this error)
This is a Strange behavior that I noticed. I cloned the repo and built the ShadowSock Android client app, Everything worked fine until I changed the Windows machine. When I try to build the app on a new Windows machine I got an error "[CXX1405] error when building with ndkBuild using \Core\src\main\jni\Android.mk:" "Error while executing process C:\Users\Username\AppData\Local\Android\Sdk\ndk\21.4.7075529\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=\core\src\main\jni\Android.mk NDK_APPLICATION_MK=\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-23 NDK_OUT=\shadow_lib\build\intermediates\cxx\Debug\ct4s171k/obj NDK_LIBS_OUT=\core\build\intermediates\cxx\Debug\ct4s171k/lib -j2 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n} " " Build command failed. 'C:\Users\Username' is not recognized as an internal or external command,operable program or batch file."
Then I tried to build the Client App on Another machine and it worked fine. I Run the build on both Ubuntu and windows only some Windows Machines are throwing this error (More than one Machine), So I'm not sure exactly what went wrong here, Would appreciate any help with this issue.
Edit:
I realize only those Window machine were throwing this bug which doesn't have Visual Studio installed. (Install Visual Studio with c++ if any one else got this error)