Preheat the oven to 350°F (180°C), line two baking sheets with parchment paper. In a large bowl, cream together the butter and sugar until light and fluffy (2-3 minutes). Add the vanilla extract and almond extract and mix again.
Mix in the almond flour and about half of the flour until smooth. Add remaining flour and mix until the dough forms together. It may look a bit crumbly in the bowl but should stick together when pinched