Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shaobin0604/69f71b9564b6d10ad185ebe3a38abe56 to your computer and use it in GitHub Desktop.
Save shaobin0604/69f71b9564b6d10ad185ebe3a38abe56 to your computer and use it in GitHub Desktop.
Installing Facebook SDK as aar to local maven repository
export ANDROID_HOME=/Applications/Android\ Studio.app/sdk/
cd facebook-android-sdk-3.14
gradle facebook:build
mv facebook/build/libs/facebook.aar facebook/build/libs/facebook-3.14.aar
mvn install:install-file -Dfile=facebook/build/libs/facebook-3.14.aar -DgroupId=com.facebook -DartifactId=android-sdk -Dversion=3.14 -Dpackaging=aar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment