Are you trying to install a new Kodi add-on, but instead you’re getting the Failed to Install a Dependency error message in Kodi?
I have been blogging about Kodi for many years and I’ve successfully resolved this “failed dependency error” many times.
In this post, I’ll show you how to diagnose and fix the Failed to Install a Dependency Kodi error so you can install your add-on.
How to Use Kodi 18 Leia’s Add-on Dependency Popup
Since Kodi 18 (Leia), when you start to install a new add-on, a popup appears that shows the dependencies needed in order to install the new add-on.
If you scroll through the list of add-on dependencies, you will see some of them say “(installed)” and some don’t.
Basically try to install the add-on once, and if it fails, try again, but this time look through the dependencies. When you find one that is not installed select it. When you select that dependency, it will open another popup for you to select which repository to install it from.
This is where you might see multiple repositories that claim to be a source for this add-on. One of them might be an old repository that has gone down, and that one may have been the default. If you select the other repo that is still online, then the add-on dependency would install properly.
Once that add-on dependency is installed, you can try to install your main add-on again, and hopefully it will work this time. If not, repeat this process until all dependencies are successfully installed.
Check the Kodi Error Logs
If the above method still doesn’t work or you’re still using Kodi 17, you can figure out why you’re getting the “Failed to Install a Dependency” error by checking the Kodi error logs.
The error logs are in a kodi.log file in the “temp” folder in your userdata folder on Android, or in the root of the folder just above that on Windows.
After opening the error log file, look for the “Failed to Install a Dependency” error and see what is mentioned there and the lines just above it.
Find the Dependency That Won’t Install
One common case found in the error log is “failed to install dependency script.module.resolveurl”.
The reason this common is because the “resolveurl” add-on is a common dependency on many different add-ons.
When your new add-on installation tries to install or update that dependency, your Kodi is following instruction from one of our repositories and trying to download the dependency from a source that no longer exists.
You might have a different dependency that is not installing, but the idea is the same.
Deactivate or Uninstall Broken Kodi Repositories
The way to fix the “Failed to install dependency” error is to deactivate your repositories that don’t work anymore.
For instance, if you have any of the below offline repositories, then disable them. The reason why you should do this is that when add-ons are installing and trying install dependencies, sometimes they try to get them from those repositories, and they fail.
When you install working repositories, disable the broken ones so Kodi can find dependencies in the working repos.
List of Broken Offline Kodi Repositories
|Jun 19, 2019
|Sep 10, 2018
|Jul 10, 2020
|Jun 17, 2020
|Jan 10, 2022
|May 31, 2020
|Aug 11, 2021
|Nov 25, 2019
|Jun 19, 2019
|Jun 17, 2019
|Jan 8, 2022
|Jul 4, 2021
How to Disable Repositories in Kodi:
- Go to the Add-on Browser
- Go to My add-ons > Add-on repositories
- Select an add-on
- Select “Disable“
The Server Might be Overloaded
Whether the main add-on failed to install, or a dependency failed to install, sometimes the issue is that the server it’s trying to download from has become overloaded with too many people trying to install it at the same time. Many times, these servers have a daily limit that they can quickly reach if a blog post is published about their add-on (this happens often after I blog about a new add-on).
When this happens, all you can do is wait and try again tomorrow (preferably in the morning).
This issue shouldn’t happen if you install add-ons that are hosted at GitHub. See the list of GitHub Kodi repositories and add-ons.
Try Another Kodi Add-on
It’s possible that the add-on you’re trying to install has gone down, maybe temporarily or maybe permanently.
Take a look at some of the most popular Kodi add-ons and give one of those a try.
Do you have a VPN?
I could be possible that your ISP is blocking a server that is hosting a dependency.
Whether that’s the case for you or not, I always recommend Kodi streamers make sure they’re using a VPN to at least protect their privacy.
Check out my 4 Reasons Why Kodi Streamers Need a Kodi VPN to learn more.
Still Getting the Dependency Error?
If these tips don’t work for you, please feel free to reach out to me in the comments below. I’d be glad to try and help. Please include some details of your situation and a snippet from your Kodi logs around the dependency error.