1

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 signatures\names, interfaces, etc.). But if I change method signatures\names, 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.

Adam Zuckerman
3,7251 gold badge21 silver badges27 bronze badges
asked Oct 9, 2014 at 7:13
1
  • 3
    Sharing your research helps everyone. Tell us what you've tried and why it didn’t meet your needs. This demonstrates that you’ve taken the time to try to help yourself, it saves us from reiterating obvious answers, and most of all it helps you get a more specific and relevant answer. Also see How to Ask Commented Oct 9, 2014 at 7:43

2 Answers 2

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.

answered Oct 15, 2014 at 3:32
1

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

answered Nov 5, 2014 at 17:35

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.