You must have the Android NDK, android build tools and cmake installed. And set up the all the environment variables in the Makefile.