작성
·
404
0
섹션 7 끝까지 다 했고 기기 하나는 노트북에 연결하고 하나는 AVD로 실행시켰습니다. 강의에 나온 거 똑같이 했고 다른 건 되는데 <Invalid 캐시 삭제>의 1:10초처럼 서로 좋아요한 닉네임을 눌렀을 때 푸시가 안옵니다. 혹시 도움을 주실 수 있을까 싶어 질문 드립니다!
닉네임을 눌렀을 때부터의 로그캣입니다.
<AVD>
W/le.sogating_2n: Accessing hidden method Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V (greylist, reflection, allowed)
W/le.sogating_2n: Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, reflection, allowed)
W/le.sogating_2n: Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, reflection, allowed)
W/le.sogating_2n: Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (greylist,core-platform-api, reflection, allowed)
D/CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10155; state: ENABLED
V/FA: Inactivity, disconnecting from the service
<휴대폰>
V/FA: Inactivity, disconnecting from the service
D/ViewRootImpl@20adb07[MyLikeListActivity]: ViewPostIme pointer 0
D/ViewRootImpl@20adb07[MyLikeListActivity]: ViewPostIme pointer 1
D/AbsListView: onTouchUp() mTouchMode : 0
W/le.sogating_2n: Accessing hidden method Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V (greylist, reflection, allowed)
W/le.sogating_2n: Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, reflection, allowed)
W/le.sogating_2n: Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, reflection, allowed)
W/le.sogating_2n: Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (greylist,core-platform-api, reflection, allowed)
W/le.sogating_2n: Accessing hidden field Lsun/misc/Unsafe;->theUnsafe:Lsun/misc/Unsafe; (greylist, reflection, allowed)
W/le.sogating_2n: Accessing hidden method Lsun/misc/Unsafe;->allocateInstance(Ljava/lang/Class;)Ljava/lang/Object; (greylist, reflection, allowed)
D/ViewRootImpl@df4e371[Toast]: setView = android.widget.LinearLayout@8f77556 TM=true MM=false
V/Toast: Text: 맥칭이 in android.widget.Toast$TN@da159d7
D/ViewRootImpl@df4e371[Toast]: Relayout returned: old=(0,135,1080,2214) new=(314,1930,765,2046) req=(451,116)0 dur=17 res=0x7 s={true 482787987456} ch=true
D/OpenGLRenderer: createReliableSurface : 0x7159eca840, 0x7068681000
D/ViewRootImpl@df4e371[Toast]: MSG_RESIZED: frame=(314,1930,765,2046) ci=(0,0,0,0) vi=(0,0,451,116) or=1
D/ViewRootImpl@df4e371[Toast]: dispatchDetachedFromWindow
D/InputTransport: Input channel destroyed: 'f23e768', fd=106
혹시 이 부분도 안되는 것과 연관이 있을까요?
2022-11-28 18:46:07.719 4790-4790/? E/Zygote: isWhitelistProcess - Process is Whitelisted
2022-11-28 18:46:07.721 4790-4790/? E/Zygote: accessInfo : 1
2022-11-28 18:46:07.743 4790-4790/? I/le.sogating_2n: Late-enabling -Xcheck:jni
2022-11-28 18:46:07.765 4790-4790/? E/le.sogating_2n: Unknown bits set in runtime_flags: 0x8000
2022-11-29 11:52:58.828 9559-9700/com.example.sogating_2nd V/FA: Inactivity, disconnecting from the service
그리고 FirebaseService.kt의 onMessageReceived 안의 로그가 찍히지 않는 것 같습니다. 혹시 onMessageReceived는 어디서 불러오는지 알 수 있을까요?
답변 1
1
Clean Project, Invalidate Cashes도 하고 PushNotification.kt의 token을 to로 바꾸고, 앱을 깔았다 지우고 유저를 새로 만들어서 회원가입하니까 뭐 때문에 된진 몰라도 해결됐습니다.
한 번 더 했는데 또 안돼서 회원가입하고 유저를 새로 만드니까 되는 것 같습니다!
강의 수강하신다고 고생하셨습니다 :)