Reputation: 769
I'm trying to add Facebook sdk in eclipse(I'm using cocos2d-x) , following this guideline
I'm confused where to add "repositories{ mavenCentral() }" as eclipse project don't have build.gradle.
I've also tried implementing this one :
but when I import Facebook sdk in eclipse, it still give errors.
If anyone have idea, please help. Thanks!
Upvotes: 0
Views: 1040
Reputation: 795
Change Your Project Target SDK to 19 And Go to >> Project Property>> Java Compiler>> Uncheck to defaults java Version that's 1.7 or 1.6
It work Fine in My Case..
Upvotes: 1
Reputation: 8896
There are following step to import Facebook:
If you are using fb sdk in your cocos2d-x project make sure your project and fb sdk in same directry.
Upvotes: 1