Skip to content Skip to sidebar Skip to footer

Android Notification 'Cannot Resolve Method 'build()' From ABS Fragment

I am attempting to show a basic notification from a fragment in an ActionBarSherlock layout. I have been following the tutorial here as well as the one on the Android Developer pag

Solution 1:

It worked with me for both build() and getNotification() . FYI , Notification.Builder.build() is API level 16 so check your target. Also check your imports and build paths and clean the project. If the problem persists try another android-support-v4.jar inside libs may be its corrupted.

Hope this helps.


Post a Comment for "Android Notification 'Cannot Resolve Method 'build()' From ABS Fragment"