Skip to content Skip to sidebar Skip to footer

Android " Could Not Find Method Android.app.notification$builder.setlocalonly "

I'm an Android Beginner. Nowadays, I'm testing Google Analytics and I met the following log : Could not find method android.app.Notification$Builder.setLocalOnly, referenced from

Solution 1:

setLocalOnly is available on API Level 20 and above. May I know that do you include Android Support Library v4 or AppCompat v7 to your app yet? It might helps. I believe that Google Play Services will use NotificaionCompat provided in Support Library v4 if available.

Solution 2:

There were changes to android.support.v4 and appcompat-v7. Make sure you have the latest ones. This may be similar to: Problems implementing the new GCM Client for Android

Post a Comment for "Android " Could Not Find Method Android.app.notification$builder.setlocalonly ""