This is what I did. Go to Window –> Show View –> Project Explorer Then right click on the project name that you want to delete and Click Delete.
In the dialogue box, check ‘Delete Project Contents on disk’
It worked. I was able to create the project with the same name again.