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
Get the latest version of the support file. If you are using Eclipse, start the Android SDK manager (Window->Android SDK Manager). Under Extras->Android Support Library you will see if you have the latest revision (if not it will say update available). After updating the package should appear here: /extras/android/support/.
More info: http://developer.android.com/tools/support-library/setup.html