GCM unregister causing the application to crash

前端 未结 4 1565
别跟我提以往
别跟我提以往 2020-12-15 04:38

I\'ve implemented GCM notifications on my app. I am now trying to un-register the app when the user logs out. I am using the following code. When this code executes, it caus

4条回答
  •  时光说笑
    2020-12-15 04:59

    I was with same problem after update the support library to 25.0.0 . For me after update the below libs,in the app gradle file, the problem gone.

    compile("com.google.android.gms:play-services-location:9.6.1")
    compile("com.google.android.gms:play-services-maps:9.6.1")
    compile("com.google.android.gms:play-services-gcm:9.6.1")
    

提交回复
热议问题