It is because you are connect to a network which has a auto-redirect in it or it is not encrypted(HTTP). Start by
- Disconnecting yourself from the network.
- Restarting Android Studio
If the problem continues try posting a more detailed description of the error
If the problem doesn’t continue contact your network administrator.