My Nexus4 mobile is on android-5.1.1 version. Today I tried to factory reset my mobile and completed reset. After reset rebooted my mobile and it went through language selection screen. Selected wi-fi connection and clicked on next, it stuck on "Checking connection..." screen. I tried with mobile network as well, but no use.
Tried restart no luck. Tried factory reset again still facing the same problem.
How to fix this ?