Go to File > Sync Project with Gradles Files.