This was the thread I was referring to I have checked all the paths and all the SDK's are up to date, however I think I may have solved it the issue was to do with the SDK build tools although up to date I think you are not meant to select and install all of them, so removed all but version 19.0.1 and it seems to work ok now