【发布时间】:2016-06-11 13:52:04
【问题描述】:
我正在尝试在 kivy 制作的 android 应用中发出通知,如下所示:
from plyer import notification
notification.notify('test tiltle','scanning started')
但我每次都会在 logcat 中收到此错误
chnhack/in/web_sqli/R$drawable'
I/python (28327): Exception in thread Thread-1:
I/python (28327): Traceback (most recent call last):
I/python (28327): File "/root/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/threading.py", line 552, in __bootstrap_inner
I/python (28327): File "/root/.buildozer/android/app/main.py", line 165, in run
I/python (28327): File "/root/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/plyer/facades/notification.py", line 21, in notify
I/python (28327): File "/root/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/plyer/facades/notification.py", line 26, in _notify
I/python (28327): NotImplementedError: No usable implementation found!
I/python (28327):
D/dalvikvm(28327): threadid=11: thread exiting, not yet detached (count=0)
D/dalvikvm(28327): threadid=11: thread exiting, not yet detached (count
如果有人帮助我,那就太好了
【问题讨论】:
标签: python-2.7 notifications kivy