title: App initialization very slow: FirebaseApp initialization unsuccessful
body: <p>I know about <a href="https://stackoverflow.com/questions/37321728/firebaseinitprovider-firebaseapp-initialization-unsuccessful">this question</a> but I don't think it helps me and the problem looks slightly different.</p>
  <p>I'm doing this app where I need to implement AppsFlyer for tracking and I'm required to use only 2 components from Google Play Services:</p>
  <blockquote>
  <p>com.google.android.gms:play-services-ads</p>
  <p>com.google.android.gms:play-services-gcm</p>
  </blockquote>
  <p>And I'm using the latest version of the Google Play Services, 9.0.2 that is.</p>
  <p>The problem is that <strong>on the first app launch after installing the app</strong>, the app takes quite a bit of time to start. There's no log output and when the app starts doing something, the first line on the log is:</p>
  <blockquote>
  <p>06-16 16:50:23.782 22368-22368/com.company.app I/FirebaseInitProvider:
  FirebaseApp initialization unsuccessful</p>
  </blockquote>
  <p>I'm not using Firebase, how can I get rid of this? It really slows down the application initialization. Not a very good user experience...</p>
  <p><strong>EDIT:</strong></p>
  <p>I've added both libs, one at a time and I've realized that the GCM is the one causing the issue. When I add:</p>
  <blockquote>
  <p>com.google.android.gms:play-services-gcm</p>
  </blockquote>
  <p>I start getting the &quot;FirebaseApp initialization unsuccessful&quot; log and the app takes a while to start. Perhaps downgrading &quot;fixes&quot; the problem, but that's not a very good solution.</p>