试着运行了一下示例里面的通知监听,报错内容如下
Wrapped android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? (<通知监听>#2)
居然是个问句吗………
请问我要怎么处理这个问题?
试着运行了一下示例里面的通知监听,报错内容如下
Wrapped android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? (<通知监听>#2)
居然是个问句吗………
请问我要怎么处理这个问题?