dude.
a) just becouse the hardware that android runs on is strong enough to support compiling code does not mean that android as an operating system supports it.
Yes it mean's it can be done, it mean's the possibility is there ,you have to modulate the IDE like one has to do for small distro's like Puppy.
just becouse the hardware that android runs on is strong enough to support compiling code
it mean's you have the power but not the software now that can be done , but for example if you do not have supported Hardware nothing can be done for instance take the Pyxis OS for Arduino ,it is there on Mega but you can't make it work on a UNO so Hardware is the very major thing here.