I updated ADT through Eclipse today to version 21. Now when I open the SDK Manager I would expect there to be a folder like \"Android 4.2 (API 17)\", which would contain the SDK
As error suggest : API 18 depends on SDK version n etc etc. So first update SDK tool to latest version (deselect API 18) then try to install API 18.