How can I set the static IP to eth0 instead of by using adb in Android stuff?

I want to set another series (ie as the static IP address for the rpi3 model b running Android Things. I tried ADB commands by adding route, but still no change in IP. I also used the ifconfig command, but it did not work either