Updating the SDK and tools is done through android studio. Trying to 'reinstall parts' of it is only going to cause version conflicts. If you cannot update them through gradle, or manually as described in this link, you may have to delete the current platform and start again. (Which is not as painful as it sounds).