VersionCode for Android library module?

from the CommonsWare Community archives

At July 27, 2019, 7:16am, _shahdhaval asked:

Hello.

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?


At July 27, 2019, 10:03am, sebouh replied:

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


At July 27, 2019, 11:25am, mmurphy replied:

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