 He was the manager of Latvia national team from 2004 to 2007, having succeeded Aleksandrs Starkovs in December 2004.Andrejevs played for a number of football clubs in Riga.He started his career with Daugava Rīga.