Copy and paste or type in the adult repo's Media Source URL correctly to the popup location box, then click OK. Double click on the Add source bar on the left side. Get back to System menu, click on the File manager module from the upper-left side. Click on System > Go to Add-ons tab > Enable Unknown Sources. Launch Kodi, from the main menu, click gear icon from the upper side of the left panel.
Since Kodi prohibits the installation of third-party addons/repos by default for security issues, we need to set Kodi to allow installation from unknown sources before installing any addons.