gcc is not installed in all its pieces or they are not in your path or
the proper variables have not been pointed to the proper versions by
the config process. Note that the build process likely requires both
a normal installation of gcc to produce executables for your
development machine, and a cross compile version to produce
executables for the android device. Welcome to life as an embedded
linux developer ; -)