What is the opposite of friendly?

The opposite would be unfriendly. Other possible adjectives are hostile, antagonistic, inhospitable, or inimical.