Sift together the flour and cocoa powder.
Cream the butter and sugar.
Add the egg and mix well.
Add the powdered ingredients and knead into a dough.
Mix in the walnuts and dried cranberries.
Shape the dough into small, round pebble shapes.
Bake in a preheated oven at 180°C for 15 minutes.
Place on a cooling rack to cool.