Frankly the options on Android look extremely primitive in comparison, and largely depend on off-device development for anything above very basic and incomplete terminal prompt level features. iOS on-device development went beyond that with commercial-grade on-device development environments a decade ago, but Android seems stuck there permanently.
I'm not really sure why that is, there doesn't seem to be any technical limitation preventing the emergence of well specified complete development environments, like Codea, Pythonista and Pyto on Android but it never seems to happen. When I got my first iPad I was half expecting to have to get an Android device eventually just to be able to code on it, but it never happened and the on-device development story on iOS has gone from strength to strength.