开发者

Facebook Flex SDK will not import, any ideas?

I'm trying to setup the Facebook sdk for Flex for the first time. I si开发者_高级运维mply copied the Graph API 1.6 web into my lib folder. And when i try and import it, it even shows up as you type, as you can see in img1. But after i save my project I get an error saying it cannot be found. Does anyone know how i should properly setup the facebook flex sdk?

edit: figured it out, thanks!


Shouldn't that line read either

import com.facebook.graph.*;

or

import com.facebook.graph.SomeClass;

?

I always rely on Flex Builder to organize my import statements. That way I never really have to deal with these errors.


It seems like a flashbuilder's bug.

Two steps:

  1. project => clean => build

  2. restart your flashbuilder

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜