How can I use vectorDrawable as icon for push notifications using Android Support Library 23.2? setSmallIcon gives error
问题 My app is under API < v21, so I use Android Support Library 23.2 for managing my vectorDrawables. android { defaultConfig { vectorDrawables.useSupportLibrary = true } } All views works ok exept icon for push notification: NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this) .setColor(getResources().getColor(R.color.colorAccent)) .setSmallIcon(R.drawable.ic_play_arrow_white_24dp) //ERROR .setContentTitle(getString(R.string.app_name)) .setContentText(getString(R.string