When adding Facebook SDK " appeventslogger.activateapp(this)" is shown deprecated
<p>Using Facebook SDK 4.5. Tried using SDK 4.5 to 4.11. Problem still facing.</p>

<p>AS per this changelog : <a href="https://developers.facebook.com/docs/android/change-log-4.x">https://developers.facebook.com/docs/android/change-log-4.x</a></p>

<p>Its changed to AppEventsLogger.activateApp(Application)</p>

<p>But I am facing trouble while implementing it.</p>

<p><a href="https://i.stack.imgur.com/gT0pi.png"><img src="https://i.stack.imgur.com/gT0pi.png" alt="Screenshot"></a>:</p>