If you can compile the project and it´s just a "fake" unresolved reference, then you should just clean your project.
Build -> Clean project
After that, everything should work.