Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Facebook cannot be resolved to a type" in Facebook SDK for Android

I followed the instruction on adding Facebook Android SDK to Eclipse, but for some reason when I restart eclipse I'm getting this error over and over again for all imported types from Facebook lib.

    "X cannot be resolved to a type"
like image 653
milous Avatar asked Nov 19 '11 16:11

milous


1 Answers

If you have done this step :

enter image description here

You press Ctrl - Shift-O to fix all the imports.

like image 136
Reno Avatar answered Sep 28 '22 09:09

Reno