FacebookSdk.sdkInitialize (Context) is deprecated : <p>I'm using facebook-android-sdk-4.19.0 in Android Studio and I followed the Facebook quick start guide at <a href="https://developers.facebook.com/docs/android/getting-started">https://developers.facebook.com/docs/android/getting-started</a> (Click on the Quick Start button to sign in with your own facebook account). In the guide, it's told  to copy&amp;paste the following code in the snippet to track app logs</p>

<pre><code>import com.facebook.FacebookSdk;
import com.facebook.appevents.AppEventsLogger;

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        FacebookSdk.sdkInitialize(getApplicationContext());
        AppEventsLogger.activateApp(this);
    }
}
</code></pre>

<p>However, when I copy pasted the code in android studio, it appears that all of the FacebookSdk.sdkInitialize() methods are deprecated. The documentation here <a href="https://developers.facebook.com/docs/reference/android/current/class/FacebookSdk/">https://developers.facebook.com/docs/reference/android/current/class/FacebookSdk/</a> tells nothing about what method to use to initialize the sdk instead of sdkInitialize(). What method should I use?</p>
