Just a heads up for anyone who still has this problem, if you have download latest ndk and still encounter this error, make sure the directory where your project is should not have empty spaces between them.
Wrong: D:\Android Modding\Mod menu
Right: D:\AndroidModding\Modmenu