Had the same problem, use the below steps to fix it: Run these in terminal
Now build the project again.