The striker won his 50th cap for Wales when starting their friendly against Luxembourg at Llanelli.
And although he did not mark the occasion with a goal, Earnshaw played his part in a 5-1 win for John Toshack's side.