r/AndroidStudio • • 3d ago

I made an Android Studio plugin that warns you when a change to your library would break the apps using it

Post image

If you publish an Android library, some edits look harmless and still break your users on the next upgrade. Say you add a parameter with a default value to a public Kotlin function. Callers' source still compiles, but the old method signature is gone from the bytecode, so another library compiled against your previous version fails at runtime with `NoSuchMethodError`.

Bumpwise downloads the last version you published (the AAR) and compares it with the code in your editor. In Android Studio it highlights a change like that a few seconds after you type it, without a build. Alt+Enter gives you three ways out: keep the old signature as a hidden overload (`@Deprecated(level = HIDDEN)`), bump the version to the next major, or record the change as intentional in `.bumpwise.yml`.

Before a release, Tools → Check API Compatibility tells you whether it should be MAJOR, MINOR or PATCH, suggests the version number and drafts the changelog.

Short demo (1:20): https://youtu.be/TdHcQ1RscKg

I make it, and it's closed source with a paid edition. Java libraries are checked in the free edition; Kotlin needs the Team edition, which has a 30-day free trial. I built it with a lot of help from AI coding agents. I'd like feedback, especially false positives on your own library.

https://plugins.jetbrains.com/plugin/35935-bumpwise

0 Upvotes

0 comments sorted by