Android adb over Wifi install apk

I use ADB on the command line to install apk via USB. Now I have successfully connected via Wi-Fi. I can install applications.

./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 does not close after "Success". He is just hanging. If I bind the phone via USB, ADB will close correctly after installing the application.

This is a problem because I would like to write a script that downloads apk to several phones, all connected via Wi-Fi.

+7
source share
1 answer

Have you tried this:

./adb.exe disconnect 192.168.2.143

+3
source

All Articles