How to use forked git project in Android Studio

I am switching from Eclipse to Android Studio . I have a couple of third-party libraries that I added to some functions or changed a bit. Since libraries in Eclipse are also projects, and we can access the code, I had no problems.

In the Android Studio test, the compile in dependencies fine, but in my case I cannot use it, unfortunately.

I developed the project and made the necessary changes and will add the project as a module in Android Studio. Since the library project already has settings.gradle , as well as sample and library modules, there is a mess in my project and it does not compile at all.

Anyone having this kind of problem? What to do and what is the correct path to forked libraries?

+6
source share
1 answer

In my project, we created gradle scripts for our dependencies that don't have them, and change the gradle scripts for dependencies that have them. gradle does not work very well with modular dependencies, unfortunately: each subproject must know its place in a larger general project. Since you've already forked the github project, changing it further should not be a problem.

0
source

All Articles