Chelsea's Diego Costa has been left out of Spain's squad for their forthcoming fixtures with Belarus and Germany
Spain live updates
World champions Germany beat European champions Spain 1-0 in Tuesday night's friendly thanks to a late goal from Real Madrid midfielder Toni Kroos.
The hosts attacked more in the incessant Vigo rain, but they were unable to find a way through against the nation who replaced them as champions of the world in July.
With both coaches fielding experimental sides, and in view of the difficult conditions, the game did not turn out to be a classic between the two nations, but Germany nevertheless managed to emerge triumphant with Kroos' 89th-minute winner.
Cesc Fabregas has been ruled out of Spain's upcoming matches against Belarus and Germany with a hamstring injury.
The Chelsea midfielder will return to London on Tuesday afternoon after undergoing tests in Madrid.
Fabregas played the whole of Chelsea's 2-1 Premier League win over Liverpool at Anfield on Saturday and was included in Spain's squad for this weekend's Euro 2016 qualifier against Belarus and the friendly against Germany next week.
However, Chelsea manager Jose Mourinho said he had taken a "gamble" with Fabregas' fitness by playing him, and the tests in Spain have revealed the full extent of the injury.
Diego Costa is hoping for a new lease of life with Spain after finally breaking his scoring duck for the national team.
– Diego Costa speaking to TVE
It was pretty annoying not being able to score and it bothered me a lot. Hopefully things will go well now and I can start a new life.
Every game is a new opportunity for me to show who I am, who I can be," he said.
Andres Iniesta has been ruled out of Spain's upcoming matches against France and Macedonia through injury.
The midfielder is struggling with a knee problem that forced him to miss Barcelona's match with Villarreal at the weekend and he will not be available to national team coach Vicente del Bosque.
Real Madrid midfielder Xabi Alonso has announced his retirement from international football.
The 32-year-old was a member of the Spain squads which won the World Cup in 2010 and European Championships in 2008 and 2012 during a sustained period of dominance - but that run came to an end with a miserable World Cup in Brazil this summer as they were dumped out before the group stages had even concluded.
I announce my retirement from international football. It's been an enormous honour for 11 great years. Sincere thanks to everyone involved.