Try updating AndroidStuido
or, try Build > Clean project and Build > ReBuild project
that could work.
and one question, do you have android studio installed natively or different way?
if you are using android studio in sandbox then this problem could occur,
but, after updating(sandbox version) it probably be solved.