Android Facebook SDK - SDK import errors

I am trying to import an Android Android SDK as described here . After importing the project appears, but it shows the following errors:

Unable to allow android.nnation import

and

Import com.facebook.android.BuildConfig cannot be allowed

I use Eclipse Helios, and the virtual devices displayed in the SDK manager are 2.1, 2.2, 2.3.3 and 3.1 (the manual contains You'll need to have the Android 2.2 (API 8) components installed in order to use the Facebook SDK ) . The compiler level displayed in Preferences -> Java Compiler is 1.6.

What could be the problem and what can I do about it?

+6
source share
3 answers

try

import-> Android-> Existing Android code in workspace

but not

General-> Existing project in workspace

0
source

Not only examples of projects in the workspace, you may also need to import another project .. $ HOME \ facebook-android-sdk-3.6.0 \ facebook in the workspace. Hope this helps.

0
source

You need to import the Facebook folder, not the root.

-1
source

All Articles