I want to reset/renew the DHCP in android through code so is there any way/command to achieve the same?
Try using the WifiManager methods: call disconnect, then reconnect. You’ll need to make sure you have the appropriate permission: I think you’ll need
CHANGE_WIFI_STATE at a minimum.
See if that works for you.
Answered By – Femi