robospice
robospice copied to clipboard
ProGuard warning: can't find referenced method setLatestEventInfo
The (previously deprecated) Notification method setLatestEventInfo was completely removed in API level 23 (Android 6.0, Marshmallow). ProGuard says: Warning:com.octo.android.robospice.SpiceService: can't find referenced method 'void setLatestEventInfo(android.content.Context,java.lang.CharSequence,java.lang.CharSequence,android.app.PendingIntent)' in library class android.app.Notification
Add this in your proguard-rules.pro
file:
-dontwarn com.octo.android.robospice.SpiceService
It's not ideal, but the missing method is only used when VERSION.SDK_INT < 11, so for most people it's safe to ignore.
Thanks for the workaround. Could we also get a new release with a fix for this? Or at the very least, a notice in the readme file for future reference.