VersionCode for Android library module?


I have a question regarding Android Library Module.
Suppose I have created an Android library module named XYZ.

I am using that module in one of my projects and I have uploaded that application in Play Store.
I know that when I want to upload a new version of that application I need to increment the versionCode of that application.

So my question is:
Do I need to increment versionCode for module XYZ also for updating that application on Play Store?

No, you don’t need to increment the module version code. The version code and name in library modules are ignored.

1 Like

I agree. FWIW, I usually do not have a versionCode in my library modules at all.