Connect adb
1. cd [location]\Sdk\platform-tools
2. adb devices
3. adb tcpip 5555
4. adb connect [yourDeviceIP]
Nếu xảy ra lỗi " No connection could be made because the target machine actively refused it " :
1. stay connect via USB
2. connect to your WIFI network (computer and mobile device both)
3.ping DeviceIP (must be have ping to your device)
4. adb kill-server
5.adb usb
6.adb tcpip 5555
*unplug usb cable (as per @captain_majid 's comment)
7. adb connect [yourDeviceIP]
8. adb devices (must be see two device names , one of them is by deviceIP)
9. unplug USB cable
In my case:
E:
cd androidsdk\Sdk\platform-tools
adb devices
adb tcpip 5555
adb connect [yourDeviceIP]
Nhận xét
Đăng nhận xét