Bugs/glitches could be any number of reasons - user error, carrier bloatware, apps, bad coding, what have you. But calling Android flawed implies that there is a core problem that can't be fixed. From what I've seen so far, Android has no flaw since any issue I've heard of has been able to be resolved though user correction, tweaking settings, or patches/firmware updates.