If you’ve been using Kodi for a while, you may have come across this error. The “failed to install dependency error” will usually come up while you’re attempting to install a build or add-on. It can be quite frustrating as the error will prevent you from using the Kodi build or add-on.
This error is typically an indication that some dependent files were not installed alongside your Kodi build or Kodi addon. This is important as some builds or add-ons usually require these dependent files to function properly.
There are a few ways you can take care of this problem so you won’t be left stranded.
But be careful: you may be putting yourself at risk by using Kodi without a VPN. Because VPNs can hide your IP address (and encrypt your communications), you can make sure your online activity and identity remains protected while enjoying Kodi.
Method #1: rebuild your Kodi database
Kodi can sometimes malfunction even when you haven’t taken any recent actions. This method helps to fix the error by rebuilding your database file. The following steps should help you rebuild your database and clear any errors if Kodi failed to install a dependency.
- Launch Kodi as an Admin
- Navigate to the top left corner and click the Gear (settings) icon.
- Click the File Manager button at the top of the screen.
- Navigate to the left corner of the Kodi screen and double-click on Profile Directory
- Open the Database folder
- From within the folder, locate the Addon27.db file. Right-click on the file and select the Delete option.
- Confirm to delete if prompted to completely delete the file.
- Click the Power button at the top of your screen and select the exit button to close Kodi.
- Wait a few minutes and launch Kodi again.
These steps should ideally help you resolve your “failed to install dependency” error and let you continue using Kodi again. However, if you still experience this error, you should try any of the additional steps below.
Method #2: install your Kodi dependencies manually
If you’re still experiencing this error, you might also be able to find relief by manually installing Kodi dependencies using the following steps.
- Run Kodi as an Admin and click on the gear icon in the top left corner.
- Open File Manager
- Navigate to the left side of the screen and double-click on Add Source.
- Enter the path URL or browse your computer for media location. For instance, if you’re trying to use the TV add-on, enter this URL (http://fusion.tvaddons.co/) and click enter.
- Navigate to the main menu (home page) and open the add-ons folder.
- Locate the Open package/Mail icon from the top left and open it.
- From the list of options available, select Install from ZIP file.
- Open the source you recently added. In this scenario, select the TV Add-ons source or folder.
- Locate and open the Kodi-scripts folder.
- You should find some ZIP files within this folder. These files are the dependencies you’re looking to install. You’ll need to install all of them, so go ahead and open the first one.
- The dependency should install shortly and notify you of completion.
- Repeat Step 11 for the other dependencies and that’s it!
You should be able to fully use the add-on that required the dependencies now. Although the steps shown above were used to install the TV Addon dependencies, it is exactly the same for any other add-on dependency.
Method #3: clear your Kodi cache
When streaming a movie, for instance, your device will usually pre-buffer a bit of the video before delivering it to you. The Kodi cache is an essential part of the media player as it allows you to stream flawlessly – unless it gets full of course.
Kodi is set by default to reserve around 20MB on your computer as it caches. When this becomes full, it may affect the installation of add-ons, causing Kodi to display the “failed to install a dependency” error. The following steps will help you clear your Kodi cache and allow you to install your add-ons.
For Android and Amazon Fire Stick
- Open your Kodi app.
- Go to Settings.
- From your Settings page, locate the Apps section and enter Kodi.
- Click the Clear Cache button at the bottom of your screen and confirm. Your cache should now be cleared and you should stop getting the “failed to install dependency” error.
Since Kodi developers are yet to include a Clear Cache functionality in the app, you’d have to turn to third-party add-ons for help. The following illustration requires you to install the Exodus addon before clearing your cache. Once you’ve installed the addon, you can use the following steps to clear the cache.
- Launch Kodi and allow the app fully load.
- Navigate to your Add-ons folder and open it.
- From your Add-ons folder, open Exodus.
- Locate the main menu and click on Tools.
- From your Tools Menu, you can clear your cache and even search history.
- Restart your Kodi app and the error should have disappeared.
Method #4: reset or reinstall Kodi
The following steps should help you reset Kodi on different platforms.
Reset Kodi on Android
To reset Kodi on Android, you’ll need to:
- Close or exit Kodi on your device if it’s currently open.
- Go to Settings
- Locate Preferences and click on More Settings.
- Navigate to the Device section and click on Apps to open.
- Find the Kodi section and open it.
- Click on Clear Data and wait.
- Your cache should now be cleared. You should be aware that once you clear the app data, all your add-ons, databases, customized settings, files, and accounts will be cleared off.
- You may now relaunch Kodi to confirm everything works fine.
Reset Kodi on Windows
While it may seem that uninstalling and reinstalling Kodi should help reset the app, this may not help as some files may remain on your computer after uninstallation. In order to reset Kodi on your desktop, you should do the following.
- Close Kodi if it’s currently open on your computer.
- Go to the Search bar on your desktop and enter %appdata%.
- Select the folder named %appdata% that appears in the result.
- Locate the Kodi folder.
- Right-click on the Kodi folder and select delete.
- Confirm to delete the folder. This action will delete all your customizations including files, accounts, add-ons, and builds.
One of the methods detailed above should ideally help you resolve the dependency error and allow you to continue enjoying your Kodi experience. However, you should take note that your ISP or other third-parties may be monitoring your streaming or general online activity.
Even if you’re only streaming content that isn’t pirated, since many Kodi add-ons and builds can be used for piracy, you may still be at risk. The only guaranteed way of protecting yourself while on Kodi is by using a VPN.