我遵循了FB SDK开发人员指南。获取我的keyhash并在我的项目中添加com_facebook_android作为librarie引用。
事情是在我的项目中,我无法导入com_facebook_android类。
import com.facebook.android.*;
import com.facebook.android.Facebook; // error here "The import com.facebook.android.Facebook cannot be resolved"
public class WisePalantir extends Activity {
Facebook facebook = new Facebook("YOUR_APP_ID"); // therefore error here since I cant import Facebook class
我做错了什么?对不起,我是一个新手,现在已经很明显了。