WakefulBroadcastReceiver cannot be resolved to a type

前端 未结 8 1256
日久生厌
日久生厌 2021-01-01 18:01

My project shows error message that WakefulBroadcastReceiver cannot be resolved to a type. I looked up for all possible reasons I can think of. I have set

8条回答
  •  一向
    一向 (楼主)
    2021-01-01 18:27

    Make sure that you have the latest Android Support package added to your project. For example, this sample project has a suitable android-support-v4.jar and demonstrates the use of WakefulBroadcastReceiver.

提交回复
热议问题