Why do you believe that putting a random IP address will solve the problem?
Because every device on the network needs a unique IP address. It does not work without one.
isn't the IP address chosen by the router?
Many modern devices are able to ask the router for a dynamic IP address. But if this does not work like in your case, you have to give it a static address. Just choose one which no other device already has.