It is usually happen when your Android device failed to obtain the IP address from the server, or the network is configured not to use a DHCP server. So in this situation, your Android device will not receives configuration from the server and have to manually configure the IP address.
How to Configure WiFi IP Address for Android?
To manually configure WiFi IP address for Android, first you need turning on your wireless on Android and connect to wireless a network.
Tap menu on your device and go to "Advanced" option
In "Advanced" option, tick "Use static IP" and manually configure the IP address, Gateway, Netmask, DNS1 and DNS2 according to your network.
That is all, if you have any question on How to Configure WiFi IP Address for Android? you can use the comment form below to ask.