Code Monkey home page Code Monkey logo

Comments (3)

drraccoony avatar drraccoony commented on September 5, 2024
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: dev.synople.glassecho.phone, PID: 31063
    java.lang.IllegalArgumentException: Invalid notification (no valid small icon): Notification(channel=dev.synople.glassecho.phone shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x0 color=0x00000000 actions=3 vis=PRIVATE)
        at android.app.NotificationManager.fixNotification(NotificationManager.java:603)
        at android.app.NotificationManager.notifyAsUser(NotificationManager.java:582)
        at android.app.NotificationManager.notify(NotificationManager.java:531)
        at androidx.core.app.NotificationManagerCompat.notify(NotificationManagerCompat.java:215)
        at androidx.core.app.NotificationManagerCompat.notify(NotificationManagerCompat.java:199)
        at dev.synople.glassecho.phone.fragments.HomeFragment.showNotification(HomeFragment.kt:122)
        at dev.synople.glassecho.phone.fragments.HomeFragment.access$showNotification(HomeFragment.kt:32)
        at dev.synople.glassecho.phone.fragments.HomeFragment$onViewCreated$$inlined$apply$lambda$2.onClick(HomeFragment.kt:62)
        at android.view.View.performClick(View.java:7448)
        at android.view.View.performClickInternal(View.java:7425)
        at android.view.View.access$3600(View.java:810)
        at android.view.View$PerformClick.run(View.java:28305)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

from glassecho.

tujson avatar tujson commented on September 5, 2024

Ah, do you know what app sent that notification? The fix feels simple, just making the small icon nullable or so.

As a heads up (I'll add this to the README), I won't be able to work on this for the foreseeable future. I no longer have access to a pair of Glass (XE or EE 2).

EDIT: I should've declined the payment, let me know if it didn't and I can send it back your way! Thanks though!

from glassecho.

drraccoony avatar drraccoony commented on September 5, 2024

Ah, do you know what app sent that notification?
Actually the test notification button crashes it.

from glassecho.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.