I loaded the SDK via git. After that I imported it in Android Studio.
When I call ./gradlew clean facebook:assemble I get a lot of
cannot find symbol error messages.
Gradle can't find classes from the android-support lib and it can't find the R class too. But at the end the build finishes successful.
Are this error messages okay or do if have to fix something?
Android Studio shows this errors too. How can I fix this?
You can add the Facebook SDK via a gradle dependency.
If you want to add the SDK as a module in Android Studio then the following should work:
Add the FacebookSDK to your project, at the same level as your 'app' directory.
Then you need to edit settings.grade and app/build.gradle
settings.grade
app/build.gradle