Dependency details for module shows the same dependency multiple times

Viewed 552

I have a project with a "base" module, a library module called "ViewLib" and an "installed" module. I have put the following in build.gradle inside "installed":

implementation project(":ViewLib")
implementation project(":base")

The dependency graph looks like this (there are three arrows to the same dependency)

Dependency graph

Why is this?

and

Does it matter?


Some extra info that could help:

If I choose devRelease instead of devDebug, it shows the same dependency twice instead.

The only difference between the release and debug buildtypes are that I've included one extra proguard file in debug.

1 Answers

I was searching the same issue through many pages and I didn't found nothing. But I downloaded the Android Studio 3.5 Beta 3 and I started to test this scenario and it didn't happened. I think, it was an issue in the current Android Studio. So in the next release the Android studio team will fix it.

Android Studio Version 3.5 Beta 3

Modular Android Application - Example

As you can see in those images it seems this issue doesn't appear. :)

Related