WakefulBroadcastReceiver cannot be resolved to a type

前端 未结 8 1212
日久生厌
日久生厌 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:25

    The old v4 .jar file is deprecated! Please uninstall and install again! Will work ;)

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题