com.google.android.gms.common.internal.safe parcel.safe parcelable not found

后端 未结 6 1176
走了就别回头了
走了就别回头了 2020-12-05 16:44

I am trying to add notification services to my app using FCM and tutorial given on https://www.simplifiedcoding.net/firebase-cloud-messaging-android/ Everything has done and

6条回答
  •  星月不相逢
    2020-12-05 17:39

    In your Gradle file all the versions of google-play-service and firebase should use the same version.

    As you are using :

     compile 'com.google.android.gms:play-services-drive:10.0.1'
    

    You should use :

    compile 'com.google.firebase:firebase-messaging:10.0.1' // and not 9.2.1

提交回复
热议问题