简体   繁体   中英

Cannot importing facebook sdk into my android project

I have imported and added the facebook sdk for my android project. But in my project under gen folder, then under com.facebook.android folder I get only R.java file. Please help me to get this solved.

You have to import it into your workspace and configure it as a library ( Properties/Android/Library Is Library checked)

then import it into your project under Properties/Android/Library Add the facebook project

Check that the facebook project is in your build path Properties/ Java Build Path/ Projects

And then you should see it under Android Dependencies

您可以反过来做,而不是导入facebook库,只需将整个包com.facebook.android复制到您的项目中即可。...就这样。...无需导入任何内容.....

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM