Download Facebook Sdk 4.0.0 For Android

Posted By admin On 24/11/19

Mediation Networks for Android. The ironSource Mediation platform supports interstitial and video ads from 11 leading ad networks, equipped with smart loading, ad placement technology and ad delivery optimization.

Been trying to add the Facebook SDK to my project and followed all the steps they have provided to get it to work. I have googled this question and cant seem to get an solution so getting to a point of pulling my hair out now lol

Aug 01, 2015  Development in VisualStudio for Android 4.0.0? Good day, Can I develop my application for Android 4.0.0? Visual Studio supported only 4.4, 5.0, 5.1. Can I download download-packs for the development of Android 4.0.0? LuigiMario US Member August 2015. Okay i founded. Sorry for the post. Declaration (only VisualStudio. Android Apk Download. Free Full Android Apk Downloads. Email or Phone: Password: Forgot account? See more of Android Apk Download on Facebook. Create New Account. See more of Android Apk Download on Facebook. Microsoft's Office suite for iPad, iPhone, and Android is. Maven (Preferred Download Method) Add this to Module-level /app/build.gradle before dependencies. Repositories // You can also use jcenter if you prefer. Component SDKs of the Facebook SDK for Android. The Facebook SDK for Android consists of six component SDKs: The Facebook Core SDK (includes Analytics); The Facebook Login SDK; The Facebook Sharing SDK; The Facebook Places SDK; The Facbeook Messenger SDK; The Facebook App Links SDK; If you don't need the functionality of the full Android SDK, you can save space by using only the SDK.

Followed the steps from here: https://developers.facebook.com/docs/android/getting-started

Ok these are the steps i took exactly:

  1. I added this before the dependecies: repositories {mavenCentral() }

  2. Then added the Facebook SDK through the library dependency which imported the dependency in my app gradel as - compile 'com.facebook.android:facebook-android-sdk:4.0.0'

  3. Added the <uses-permission android:name='android.permission.INTERNET'></uses-permission> to my android Manifest

4.Then added this to the manifest before any activity tag but after the apptheme <meta-data android:name='com.facebook.FacebookSdk' android:value='@string/app_id'></meta-data>

It's optimized for both phones and tablets.With over 20,000,000 downloads and its support of ZIP, encrypted ZIP, RAR, TAR, GZIP and BZIP2, AndroZip File Manager is a definitive leader among similar applications on the market.Full support for decompression of encrypted ZIP files (Standard, AES-128 and AES 256 bit), compatible with WinRaR and other PC archivers as well as compression of encrypted ZIP files. #1 ZIP application and first Android archiver since early 2009!AndroZip File Manager helps you copy, delete, move, unzip/unpack and compress encrypted ZIP files, search, and organize your files, music, pictures, and folders just like you would do on your PC. Download apk files to pc.

  1. Then created a new activity for the login as follows: <activity android:name='com.facebook.FacebookActivity' android:configChanges= 'keyboard keyboardHidden screenLayout screenSize orientation' android:theme='@android:style/Theme.Translucent.NoTitleBar' android:label='@string/app_name' />

  2. At which point i then initiated FacebookSdk.sdkInitialize(getApplicationContext());

  3. I created the Login button through the main activity xml file as which shown rendering problems:

<com.facebook.login.widget.LoginButton android:id='@+id/login_button' android:layout_width='wrap_content' android:layout_height='wrap_content' android:layout_gravity='center_horizontal' android:layout_marginTop='30dp' android:layout_marginBottom='30dp' />

I am sure this has been followed correctly but still cant seem to get it to work. I have also added the app_id key to my strings resource file. When i run the application it crashes. I am not sure what is going on. :(

Hey Dan, can I see your StackTrace?

You really shouldn't have to add much code in MainActivity.class - the button is programmed to automatically fire off what it needs to fire.

Also, just wanted to check -

Did you make a Facebook app on developers.facebook.com? Let's try to work on this together. I'm going to fork your repo.

Yes, I created a developer app on the Facebook developers page. I added the app id to the manifest etc.. but still couldn't get it work. This seems to be such a pain and hassle to integrate the API into apps for developers. Although it seems to be just me though so I must be doing something wrong but not sure what as i have followed all the instructions to get started :/

It can be pretty confusing. Understanding oAuth can be a real pain.

The getting started should be able to get you through most of it. - https://developers.facebook.com/docs/android/getting-started

You'll also need a development hash key. You can get this using the Terminal on a Mac.

Check this out. I made a little side project to get FB login in a standalone app. Just replace my API keys and secret keys with your own.https://github.com/MrBenJ/FBLogin-android.git

Hope this helps!Ben

Still cant seem to get the login button to appear: https://github.com/dannymaia92/Social_Media_Test.git

Hey Dan,

Make sure you add another activity to your manifest file. It should look something like this: https://github.com/MrBenJ/FBLogin-android/blob/master/app/src/main/AndroidManifest.xml

I grabbed this from the getting started docs on FB for Android:

Using Login or Share

To use Facebook Login or Share, also add the FacebookActivity to the manifest:

<activity android:name='com.facebook.FacebookActivity' android:configChanges= 'keyboard keyboardHidden screenLayout screenSize orientation' android:theme='@android:style/Theme.Translucent.NoTitleBar' android:label='@string/app_name' />

Let's keep this conversation going. It took me about an hour or 2 to figure out FB login and OAuth 2, but once you get it, you can pretty much use it for any social network.

Best,Ben

Thank you very much, I appreciate the help. I am new to android development so want to play with other API's. The first link was the one I used to get me started but could never get it to work. After researching they mentioned about the hash key which i then got but still couldnt get it to work still.

i noticed you added the SDK using the built maven, did you make any other changes to the build gradle? I also noticed you used the SDK version 3.21.1 i have been trying to use the 4.0.0 version is there a reason why the 4.0.0 wont work?

I added the Facebook SDK through Grade in the dependencies - via the mavenCentral() repository - that's the only other change I've made.

I used the older SDK version because that's what was available. Version 4.0 may have some differences in it, and that must have been released since Facebook had it's F8 developer event not too long ago. Regardless, try rolling back your version to see what's happening.

I have an app I've been building with that version, and it's been fine so far. Let me know if you have any more trouble.

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

The Android Developer Challenge is back! Submit your idea before December 2.

This page provides release information about the SDK packages available for download from the SDK Manager, in the SDK Platforms tab.

Each SDK Platform version includes the following packages:

  • The Android SDK Platform package. This is required to compile your app for that version.
  • Several System Image packages. At least one of these is required to run that version on the Android Emulator.

    Each platform version includes a system image for each supported form factor (handsets, Android TV, and Android Wear). Each form factor may offer variations to match your computer's processor architecture (such as Intel x86 and ARM EABI). System images labeled Google APIs include access to Google Play services and those labeled Google Play also include Google Play Store.

  • The Sources for Android package. This includes the source files for the platform. Android Studio may show lines of code from these files while you debug your app.

The revision numbers listed below are for the Android SDK Platformpackage only. The system images may receive separate updates, usually to resolvebugs with the emulator. There are no release notes for the system images, butyou should always keep them up to date.

Important: To see the most recent Androidsystem components in the Android SDK Manager, you must first updateSDK Tools to the most recentrelease and restart the SDK Manager.

Android 10 (API level 29)

For details about the platform changes, seeAndroid Q Preview.

Revision 3 (August 2019)

Released to stable channel (no longer in preview). Fixes bug b/139041608.

Android 9 (API level 28)

For details about the platform changes, seeAndroid 9 for developers.

Download Facebook Sdk 4.0.0 For Android

Revision 1 (August 2018)

Released to stable channel (no longer in preview).

Android 8.1 (API level 27)

For details about the platform changes, seeAndroid 8.1 for developers.

Revision 1 (December 2017)

Released to stable channel (no longer in preview).

Android 8.0 (API level 26)

For details about the platform changes, seeAndroid 8.0 for developers.

Revision 2 (August 2017)

Released to stable channel (no longer in preview).

Android 7.1 (API level 25)

For details about the platform changes, seeAndroid 7.1 for developers.

Revision 3 (December 2016)

Incremental update. Released as the final Android 7.1.1 (no longer in preview).

Dependencies:

  • Android SDK Platform-Tools 25.0.1 or higher is required.
  • Android SDK Build-Tools 25.0.1 or higher is required.

Revision 2 (November 2016)

Incremental update. Released as Android 7.1.1 Developer Preview 2. For more information, see the Android 7.1 API Overview.

Dependencies:

  • Android SDK Platform-Tools 25.0.1 or higher is required.
  • Android SDK Build-Tools 25.0.1 or higher is required.

Revision 1 (October 2016)

Initial release for Android 7.1 (API level 25). Released as Android 7.1 Developer Preview 1. For more information, see the Android 7.1 API Overview.

Dependencies:

  • Android SDK Platform-Tools 25.0.0 or higher is required.
  • Android SDK Build-Tools 25.0.0 or higher is required.

Android 7.0 (API level 24)

For details about the platform changes, seeAndroid 7.0 for developers.

Revision 1 (August 2016)

Initial release for Android 7.0 (API level 24). For more information, see the Android 7.0 API Overview.

Dependencies:

  • Android SDK Platform-tools r24 or higher is required.
  • Android SDK Tools 24.0.0 or higher is required.

Android 6.0 (API level 23)

For details about the platform changes, see theAndroid 6.0 changes andAndroid 6.0 APIs.

Revision 2 (November 2015)

Fixed bugs in the layout rendering library used by Android Studio.

Dependencies:

  • Android SDK Platform-tools r23 or higher is required.
  • Android SDK Tools 24.3.4 or higher is required.

Revision 1 (August 2015)

Initial release for Android 6.0 (API level 23). For more information, see the Android 6.0 API Overview.

Dependencies:

  • Android SDK Platform-tools r23 or higher is required.
  • Android SDK Tools 24.3.4 or higher is required.

Android 5.1 (API level 22)

Download Facebook Sdk 4.0.0 For Android Windows 10

For details about the platform changes, see theLollipop overview andAndroid 5.1 API changes.

Revision 1 (March 2015)

Initial release for Android 5.1 (API level 22). For more information, see the Android 5.1 API Overview.

Dependencies:

  • Android SDK Platform-tools r22 or higher is required.
  • Android SDK Tools 23.0.5 or higher is required.

Android 5.0 (API level 21)

For details about the platform changes, see theLollipop overview andAndroid 5.0 API changes.

Revision 2 (December 2014)

Updated layouts in the Support Library and fixed various issues.

Dependencies:

  • Android SDK Platform-tools r21 or higher is required.
  • Android SDK Tools 23.0.5 or higher is required.

Revision 1 (October 2014)

Initial release for Android 5.0 (API level 21). For more information, see the Android 5.0 API Overview.

Dependencies:

  • Android SDK Platform-tools r21 or higher is required.
  • Android SDK Tools 23.0.5 or higher is required.

Android 4.4W (API level 20)

This version makes KitKat available for Android Wear.

Revision 2 (October 2014)

Updated the rendering library.

Dependencies:

  • Android SDK Platform-tools r20 or higher is required.
  • Android SDK Tools 23.0 or higher is required.

Revision 1 (June 2014)

Initial release for Android Wear.

Dependencies:

  • Android SDK Platform-tools r20 or higher is required.
  • Android SDK Tools 23.0 or higher is required.

Android 4.4 (API level 19)

For details about the platform changes, see theKitKat overview andAndroid 4.4 API changes.

Revision 2 (December 2013)

Maintenance release. The system version is 4.4.2. For more information, see the Android 4.4 API Overview.

Dependencies:
Android SDK Platform-tools r19 or higher is required.
Android SDK Tools 22.3 or higher is recommended.

Revision 1 (October 2013)

Initial release. The system version is 4.4. For more information, see the Android 4.4 API Overview.

Dependencies:
Android SDK Platform-tools r19 or higher is required.
Android SDK Tools 22.3 or higher is recommended.

Android 4.3 (API level 18)

For details about the platform changes, see theJelly Bean overview andAndroid 4.3 API changes.

Revision 2 (August 2013)

Maintenance update. The system version is 4.3.

Dependencies:
Android SDK Platform-tools r18 or higher is required.
Android SDK Tools 22.0.4 or higher is recommended.

Revision 1 (July 2013)

Initial release. The system version is 4.3.

Dependencies:
Android SDK Platform-tools r18 or higher is required.
Android SDK Tools 22.0.4 or higher is recommended.

Android 4.2 (API level 17)

For details about the platform changes, see theJelly Bean overview andAndroid 4.2 API changes.

Revision 2 (February 2013)

Maintenance update. The system version is 4.2.2.

Dependencies:
SDK Tools r21 or higher is required.

Revision 1 (November 2012)

Initial release. The system version is 4.2.

Dependencies:
SDK Tools r20 or higher is required.

Android 4.1 (API level 16)

For details about the platform changes, see theJelly Bean overview andAndroid 4.1 API changes.

Revision 3 (October 2012)

Maintenance update. The system version is 4.1.2.

Dependencies:
SDK Tools r20 or higher is required.

Revision 2 (July 2012)

Maintenance update. The system version is 4.1.1.

Dependencies:
SDK Tools r20 or higher is required.

Revision 1 (June 2012)

Initial release. The system version is 4.1.0.

Dependencies:
SDK Tools r20 or higher is required.

Android 4.0.3 (API level 15)

Revision 3 (March 2012)

Download Facebook Sdk 4.0.0 For Android Windows 7

Maintenance update. The system version is 4.0.4.

Note: This system image includes support for emulatorhardware graphics acceleration when used with SDK Tools r17 or higher.(more info)

Dependencies:
SDK Tools r17 or higher is required.

Revision 2 (January 2012)

Maintenance update. The system version is 4.0.3.

Dependencies:
SDK Tools r14 or higher is required.

Revision 1 (December 2011)

Initial release. The system version is 4.0.3.

Dependencies:
SDK Tools r14 or higher is required.

Android 4.0 (API level 14)

Android 4.0, Revision 2 (December 2011)

Maintenance update. The system version is 4.0.2.

Dependencies:
SDK Tools r14 or higher is required.

Android 4.0, Revision 1 (October 2011)

Initial release. The system version is 4.0.1.

Dependencies:
SDK Tools r14 or higher is required.

Android 3.2 (API level 13)

Android 3.2, Revision 1 (July 2011)

Initial release. SDK Tools r12 or higher is recommended.

Android 3.1 (API level 12)

Android 3.1, Revision 3 (July 2011)

Dependencies:

Requires SDK Tools r12 orhigher.

Notes:

Improvements to the platform's rendering library to support the visual layout editor in the ADTEclipse plugin. This revision allows for more drawing features in ADT and fixes severalbugs in the previous rendering library. It also unlocks several editor features that were added inADT 12.

Download Facebook Sdk 4.0.0 For Android Download

Android 3.1, Revision 2 (May 2011)

Dependencies:

Requires SDK Tools r11 orhigher.

Notes:

Fixes an issue with the visual layout editor rendering library that prevented Android 3.1 fromrunning in ADT.

Android 3.1, Revision 1 (May 2011)

Dependencies:

Requires SDK Tools r11 orhigher.

Android 3.0 (API level 11)

Android 3.0, Revision 2 (July 2011)

Dependencies:

Requires SDK Tools r12 orhigher.

Notes:

Improvements to the platform's rendering library to support the visual layout editor in the ADTEclipse plugin. This revision allows for more drawing features in ADT and fixes severalbugs in the previous rendering library. It also unlocks several editor features that were added inADT 12.

Android 3.0, Revision 1 (February 2011)

Dependencies:

Requires SDK Tools r10 or higher.

Android 2.3.3 (API level 10)

Android 2.3.3, Revision 2 (July 2011)

Dependencies:

Requires SDK Tools r12 orhigher.

Notes:

Improvements to the platform's rendering library to support the visual layout editor in the ADTEclipse plugin. This revision allows for more drawing features in ADT and fixes severalbugs in the previous rendering library. It also unlocks several editor features that were added inADT 12.

Android 2.3.3, Revision 1 (February 2011)

Dependencies:

Requires SDK Tools r9 or higher.

Android 2.3 (API level 9)

Android 2.3, Revision 1 (December 2010)

Dependencies:

Requires SDK Tools r8 or higher.