I have an Android Library Project which I intensively used in a few projects. I started a new project in which I am also using this library. I want to improve some things in library (method signaturesnames, interfaces, etc.). But if I change method signaturesnames, interfaces, I should update old projects that use this library. That could be hard work.
I want to make new version of my library which will be not compatible with previous versions.
Is this possible without creating new project?
IDE: Android Studio.
1
GitHub sounds like a good tool you could use. It can even be linked to Android Studio to automatically update your work. You’ll be able to store multiple versions of this library. Old projects can reference the older library, while new projects can reference the new library.
Alternatively, however, why not simply recreate the library and adjust it for your needs? If the project itself has a different set of demands, surely it requires it’s own library not a bent version of a previous library.
You don’t need create new project of course. Only Commit/Push project to Git.
Android Studio – GitHub Integration & Sharing Video
Watch on YouTube and create new branches for every version library You have.
It’s very easy.
You can also create local subversion repository.
How To connect Android Studio to SVN & Subversion client for Windows