Hopefully, this should solve your problem.
Do follow the following steps.
1. Clean your Project
[![Cleaning the project][1]][1]
2. Rebuild your project
[![Rebuilding the project][2]][2]
3. Finally Build and Run your project [1]: https://i.sstatic.net/aMpjS.png [2]: https://i.sstatic.net/NIIXq.png