Skip to content

Instantly share code, notes, and snippets.

@mpurbo
Last active June 14, 2019 06:05
Show Gist options
  • Save mpurbo/052ad9d0eb4aa3084b4b to your computer and use it in GitHub Desktop.
Save mpurbo/052ad9d0eb4aa3084b4b 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