Android development is torturous for this. I've been getting emails from Google recently advising me that I need to update my minSdkVersion or my app will no longer be on the Play Store.
So I opened up Android Studio yesterday to upgrade things and hopefully release a quick beta to shake things down. It's now the next day and I'm still weeding through compile-time and runtime errors caused through the upgrade.
I feel like every time I update Android libraries my code bloats out with extra conditionals and permissions checks, and generally makes my code more brittle.
Maybe this is just the nature of building a secure platform which has such a broad reach. I can't claim to know, but it sure sours the developer experience.
As a simple, non-commercial public transport app that I wrote mostly for fun and learning, it's hard to be movitated to fix it.