android - Firebase ANR - Not even using firebase -
with recent updates gms, new anr has been introduced. if exit app, , return, that's when anr initialized. thread trace seems point firebase, never started using firebase. guess must part of new gms package?
06-11 00:34:00.143: e/activitymanager(1487): anr in com.myapp
06-11 00:34:00.143: e/activitymanager(1487): pid: 19700
06-11 00:34:00.143: e/activitymanager(1487): reason: broadcast of intent { act=com.google.firebase.instance_id_event flg=0x14 cmp=com.myapp/com.google.firebase.iid.firebaseinstanceidinternalreceiver (has extras) }
here dependencies:
dependencies { compile filetree(dir: 'libs', include: ['*.jar']) testcompile 'junit:junit:4.12' compile 'com.android.support:design:23.4.0' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'com.google.code.gson:gson:2.4' compile 'com.mindscapehq.android:raygun4android:2.1.0' compile 'com.squareup.okhttp:okhttp:2.5.0' compile 'com.android.support:support-v4:23.4.0' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.google.android.gms:play-services-gcm:9.0.2' compile 'com.google.android.gms:play-services:9.0.2' compile 'com.github.chrisbanes:photoview:1.2.6' compile 'com.google.android.gms:play-services-ads:9.0.2' compile 'com.google.android.gms:play-services-auth:9.0.2' }
and emulator has play services 9.+
to wrap up, there problem in google play services 9.6.80. fixed in 9.6.83. no 1 seeing problem more play has gone through 9.8.x release cycle , pretty devices should updated.
Comments
Post a Comment