If I try to run, for example, distribute.sh -m "kivy pil", it will fail to compile with this error message:
android/python-for-android/src/jni/../jni/application/src//start.c:2:20: fatal error: Python.h: No such file or directory
However, if I run this, distribute.sh -m "kivy", and then run distribute.sh -m "kivy pil", then everything will compile just fine.