简体   繁体   中英

When I tried to modify the IP address using adb shell commands, the Android device stopped responding

I tested on a Genymotion emulator, the ROM is Android 8.0 When I call "ifconfig eth0", I can receive the returned result normally.

But when I want to modify the IP address, I call "ifconfig eth0 192.168.0.173 netmask 255.255.255.0" The device stopped responding and nothing happens when I click on the Android emulator. The adb command no longer responds. I can't run APP through Android Studio (it prompts that the device cannot be connected)

The eth0 interface settings must NOT be changed, or this will break communication between Genymotion and VirtualBox. What is your use case?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM