Android SDK is harder to learn, gradle upgrade often break build, compatibility libraries are quite confusing (which one should I use??) and hardware support for the same capability is very diverse.
Case in point, android.camera, android.camera2, androidx.camera are so different from each other that you almost have to rewrite to shift to the next generation.
iOS AVFoundation, relatively speaking, is easier to pickup and stable over the years.
Opportunities for Android I can think of to reverse this trend towards Apple: Satellite connectivity support, advanced gaming and deep integration with smart home things (e.g. Ikea)