2 very very different metrics. Average income is often skewed very heavily. Median household income I believe is a far more accurate metric when discussing home affordability.
Edit: forgot the link. There are others but this was the fastest to retrieve with a quick google search.