마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

PUSH에러 입니다. 특정 폰들에서만 수신안되고 에러나오며 강제 종료됩니다.

0 추천
PUSH보내면, 노트8에서 계속 오류 나오네요.

그 낮은 폰들은 수신이 잘 됩니다.

 

로르캣입니다.

 

08-01 15:47:13.177 1069-1112/? E/AndroidRuntime: FATAL EXCEPTION: IntentService[GcmIntentService]
    Process: {패키지네임모자이크}, PID: 1069
    java.lang.NoSuchMethodError: No direct method <init>(Landroid/content/Context;Ljava/lang/String;)V in class Landroid/support/v4/app/NotificationCompat$Builder; or its super classes (declaration of 'android.support.v4.app.NotificationCompat$Builder' appears in /data/app/{패키지네임모자이크}-OXRKcTm1FEtQ_ZOZD5-pOA==/base.apk)
        at com.igaworks.liveops.pushservice.GCMIntentService.createBigTextPushNotification(GCMIntentService.java:407)
        at com.igaworks.liveops.pushservice.GCMIntentService.makeNotification(GCMIntentService.java:353)
        at com.igaworks.liveops.pushservice.GCMIntentService.generateNotification(GCMIntentService.java:245)
        at com.igaworks.liveops.pushservice.GCMIntentService.onHandleIntent(GCMIntentService.java:119)
        at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68)
        at android.os.Handler.dispatchMessage(Handler.java:105)
        at android.os.Looper.loop(Looper.java:164)
        at android.os.HandlerThread.run(HandlerThread.java:65)
08-01 15:47:13.241 5018-5071/? E/PhoneWindow_APM?:: sendNotificationForAppPermissionMonitor callingPid = 5018, uid = 1000
    sendNotificationForAppPermissionMonitor 2
    sendNotificationForAppPermissionMonitor 21000_5018
    isCalledPackage return false
    sendNotificationForAppPermissionMonitor mIsMonitoredFeature = false

 

 

 

라이브러리 버전들을 다시 확인해봐야할까요?
흰풀이 (120 포인트) 님이 2018년 8월 1일 질문
에러 메시지 봐서는 메시지수신은 되는데 notification 생성하려다 오류 난것 같네요.  android O(26) 이후에 Notification 함수에 변화가 있어서 그런것 같습니다. 확인해 보세요

2개의 답변

0 추천
GCM 사용중이시네요.
개발자초심 (21,220 포인트) 님이 2018년 8월 1일 답변
네 GCM입니다. 무슨오류일까요...
0 추천
로그를 보니 gcm을 다이렉트로 이용하는게 아니라

외부 업체를 이용하는 것 같은데, 거기 부터 알아보시는게 빠르지 않을까요?
개발자초심 (21,220 포인트) 님이 2018년 8월 1일 답변
답변감사합니다 ㅠ.ㅠ 출근하는대로 알아봐야겠네요
...