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:

android studio 0.6.0 facebook sdk 3.14.1

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

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -