Getting around circular dependency of Android modules?

android, intellij-idea, java, module

Solution

You cannot design modules with circular dependency.If it persist you can merge the dependent code into single module to avoid circular dependency.

Problem

I have multiple modules in my android project some of which depend on other modules however I have a couple of cases where modules depend each other thus creating a circular dependency? How would you generally go about avoiding such cases in an android or java project? In my case I am using Intellij Idea 13.1.2 if that makes any difference? Many thanks in advance.

Original source