'bad : crashing push notification android app building using kivy

i have program android app to push notification using kivy and i nest notification with plyer module, and when i run app on windows and linux i get no problem, but when i build app with buildozer and i run it in android i get this error: AttributeError: type object 'org.test.myapp.R$drawable' has no attribute 'icon'

*.py

from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.properties import StringProperty
from kivy.clock import Clock
import plyer


class MyNotifyInterface(BoxLayout):
    ToggleButton_label = StringProperty("Do not show notification")

    def togglebutton_on_state(self, widget):
        if widget.state == "down":
            self.ToggleButton_label = "Show notification"
            Clock.schedule_once(self.show_notification, 5)
        else:
            self.ToggleButton_label = "Do not show notification"

    def show_notification(self, _):
        plyer.notification.notify(title='notification from kivy',
                                  message="hi i'm notification from player module")


class MyNotifyApp(App):
    pass

*.kv

MyNotifyInterface:
<MyNotifyInterface>:
    orientation: "vertical"
    ToggleButton:
        text: root.ToggleButton_label
        on_state: root.togglebutton_on_state(self)
    Label:
        text: "show notification"


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source