We have detected dependency cycles. Installation cannot continue.

Why do we get an error message "We have detected dependency cycles. Installation cannot continue." when attempting to download a specific activity package?

Description:

When a Studio Project is created with the same name as an activity, and if the Activity package is being downloaded into the Project it fails with an error message.

Steps to Reproduce:

  • Open Studio
  • Create a New Process with the Name as an Activity package (for example - "UiPath.WebAPI.Activities")
  • Now navigate to Manage Packages > All Packages > Search for "UiPath.WebAPI.Activities" > Install > Save

Resolution:

Modify the Project Title from "UiPath.WebAPI.Activities" to "UiPathWebAPIActivities" by removing the period(.) between the name.