Hello
Yes, from Barcelona airport to Andorra are buses there are biuses from 7.30am.
And they are restaurants near by apartments.
Regards
Catalina