'app is running tap for more information Android Studio

I don´t know why it does show that error This is the code:

 NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context, channelId)
                .setSmallIcon(R.mipmap.ic_launcher)
                .setContentTitle(getResources().getString(R.string.congrats))
                .setContentText(getResources().getString(R.string.done_workout))
                .setAutoCancel(true);


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source