How to Fix: Failed to install dependency error on Kodi

RECOMMENDED: Click here to fix Windows errors and optimize system performance

Kodi is a powerful media player that not only plays local media on your device’s memory, but also broadcasts online content from all over the world. What makes Kodi really amazing are the Kodi add-on modules from third parties. These add-ons take streams of your favorite content from different servers and allow you to play it online. But add-ons do not work in isolation. They depend heavily on external services called “dependencies”.

Almost all addons need the dependencies to search the Internet and retrieve the feeds. In fact, most popular add-ons require multiple dependencies. When you install add-ons, the required dependencies are also installed (if they are not already installed). However, if at least one dependency cannot be installed, Kodi will display the error message “failed to install a dependency”. If the dependency could not be installed, you cannot install the add-on.

Empty the Kodi Cache

Many errors related to Kodi dependency can be easily corrected by emptying the Kodi cache. This is very easy to do for most streaming boxes, as shown below.

June 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


Amazon Fire TV / Fire Stick TV

Go to Fire TV Settings / Applications / Manage Installed Applications / Kodi / and click Clear Cache.

Android Box

Go to the Android / Apps / Kodi / box settings and click on Clear Cache.

NVidia Shield

Go to NVidia Shield Settings / Apps / Kodi and click Clear Cache.

Windows / Mac / Linux

The best way to clear the cache on desktop platforms is to use an add-on called Indigo. For detailed instructions on how to use this addon, see our article on unlocking the cache on Kodi.

Rebuilding the Kodi database

Here you will learn how to correct the “Failed to Install a Dependency” error by rebuilding the database file of your code.

Important note: if you have already installed a number of add-ons, rebuilding the Kodi database may result in the removal of your add-ons. This method is therefore suitable for new Kodi users who are starting to experiment with add-ons themselves.

  • First of all, make sure that you start your Kodi with administrator rights. In Windows, right-click on the Kodi icon and select “Run as administrator”. If you are using a Mac, just make sure you have administrator rights as a user ;
  • Start Kodi, then click on the gear icon in the upper left corner ;
  • Then click on “File Manager” ;
  • Double-click on the left side of the screen to open the “Profile Directory”;
  • Then open the “Database” folder;
  • In this folder you will find a file called “Addon27.db”. Right-click and select “Delete” ;
  • Confirm your decision and delete the file permanently;
  • Finally, close your Kodi. Wait a few moments and open Kodi again. Now try to install an addon again and see if the addon error occurs again.

Forced installation of the dependency from the log files

  • Open the Settings menu.
  • Go to System Settings > Registration.
  • On the right-hand menu, select View Event Log. There you should see exactly which dependency could not be installed.
  • Click it > click the Install button.

This may do the trick of installing the dependency separately and then allowing you to install the add-on.

RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance