Android adb over Wifi install apk
I have been using ADB on the command line to install apk's via USB. Now I have succesfully connected via Wifi. I am able to install apps.
./adb.exe connect 192.168.2.143
connected to 192.168.2.143:5555
./adb.exe install -r xyz.apk
pkg: /data/local/tmp/xyz.apk
Success
The problem is that adb doesn't close after 'Success'. It just hangs. If I tether the phone via USB ADB will close correctly after installing an app.
This is a problem as I would like to write a script which uploads the apk to a number of phones all connected via Wifi.
你有没有试过这个:
./adb.exe disconnect 192.168.2.143