Android Studio 0.6.0 Facebook SDK Import -
i followed using facebook sdk in android studio , since have libs folder under 'app' folder, tried import in there selecting libs , file-->import module. this:
i'm able run profilepicturesample, relies on facebook module, not app. logcat says " java.lang.noclassdeffounderror: com.facebook.android.facebook" though can verify it's there. messsage after cutting facebook module , pasting libs folder. here snippet of app-->build.gradle:
dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile files('libs/parse-1.5.0/parse-1.5.0.jar') ...
you don't add under libs folder, can @ same level "app". in app/build.gradle, add line: "compile project(':facebook')"
Comments
Post a Comment