I am trying to write a program that can make Facebook updates but i have issues adding the Facebook dependency. I already have the sdk
but couldn't add to my project because...
even though i have tried adding the
gradle.prperties
file to the extracted Facebook folder as a comment suggested here
Next i tried adding as suggested on the Facebook official page but i hit this snag...
Now, because if the price of data where I'm from, I'd rather not go online since I already have the sdk locally so my question is how can i manually cache the sdk into my project?
EDIT: For clarity, my question is HOW DO I ADD THE FACEBOOK SDK INTO MY PROJECT WITHOUT GOING ONLINE (i.e. OFFLINE BUILD)?
Download Facebook Android SDK 4.24.0 ARR it from here
Then, In order to import a .aar library:
From my experience, all you need to do is set android studio's offline compile option and build it once. After that, you can re-build as much as you can without going online.
Here is a link on setting the offline option. Hope it helps: https://hackernoon.com/speed-up-gradle-build-in-android-studio-80a5f74ac9ed?gi=2bb71fe06274
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With