Firebase messaging NoSuchMethodError.zzUr exception
<p>i am trying to integrate FCM to android project as it's written in <a href="https://firebase.google.com/docs/notifications/android/console-audience">Firebase documentation</a>.</p>

<p>My app's gradle:</p>

<pre><code>dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
...
compile 'com.android.support:multidex:1.0.0'
compile 'com.android.support:support-v4:20.0.0'
compile 'com.google.firebase:firebase-core:9.2.0'
compile 'com.google.firebase:firebase-config:9.2.0'
compile 'com.google.firebase:firebase-messaging:9.0.2'
compile 'com.google.firebase:firebase-crash:9.2.0'
compile 'com.google.android.gms:play-services-ads:9.2.0'
compile 'com.google.android.gms:play-services-analytics:9.2.0'
compile 'com.google.android.gms:play-services-games:9.2.0'
}

apply plugin: 'com.google.gms.google-services'
</code></pre>

<p>Manifest.xml:</p>

<pre><code>&lt;service
    android:name=".MyFirebaseMessagingService"&gt;
    &lt;intent-filter&gt;
        &lt;action android:name="com.google.firebase.MESSAGING_EVENT"/&gt;
    &lt;/intent-filter&gt;
&lt;/service&gt;
</code></pre>

<p>And MyFirebaseMesagingService:</p>

<pre><code>public class MyFirebaseMessagingService extends FirebaseMessagingService {

@Override
public void onMessageReceived(RemoteMessage remoteMessage) {
    Log.i("info", "From: " + remoteMessage.getFrom());
    Log.i("info", "Notification Message Body: " + remoteMessage.getNotification().getBody());
}
</code></pre>

<p>}</p>

<p>But when i send push, what i get is:</p>

<pre><code>java.lang.NoSuchMethodError: com.google.firebase.iid.FirebaseInstanceIdInternalReceiver.zzUr
                                                      at com.google.firebase.messaging.FirebaseMessagingService.zzz(Unknown Source)
                                                      at com.google.firebase.iid.zzb.onStartCommand(Unknown Source)
                                                      at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2805)
                                                      at android.app.ActivityThread.access$1900(ActivityThread.java:156)
                                                      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1437)
                                                      at android.os.Handler.dispatchMessage(Handler.java:99)
                                                      at android.os.Looper.loop(Looper.java:153)
                                                      at android.app.ActivityThread.main(ActivityThread.java:5299)
                                                      at java.lang.reflect.Method.invokeNative(Native Method)
                                                      at java.lang.reflect.Method.invoke(Method.java:511)
                                                      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
                                                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
                                                      at dalvik.system.NativeStart.main(Native Method)
</code></pre>

<p>Cannot google it. Have anyone faced with it?</p>