Andy is 8 or 9 years old in Toy Story 2.
Here is the prescient info:
- In Toy Story, Andy turns 8.
- When they're moving house, you can clearly see that it's summer and that Molly is an infant, at least a few months old.
- At the end of Toy Story, it's Christmas and Molly is still a young infant, safe to say that Andy is still 8.
- In Toy Story 2, it's clearly summer again, and Molly is taking her first steps, which indicates that it would typically be the following year.
It is unclear if Andy has had another birthday, so he's either still 8 or 9 years old.