I'm using a bat file to run some ADB command. This is the content:
cd C:AutoToolApxAutoOfferAutoOfferbinDebug
adb coect localhost:5555
adb -s localhost:5555 shell pm clear com.google.android.gms
adb -s localhost:5555 shell "su -c 'mount -o remount,rw none /sdcard;'
adb -s localhost:5555 push "C:AutoToolApxAutoOfferAutoOfferbinDebugdatabsinfor.txt" "/sdcard/bsinfor.txt"
adb -s localhost:5555 shell "su -c 'mount -o remount,rw none /data;busybox cp /sdcard/bsinfor.txt /data/bsinfor.txt;chmod 777 /data/bsinfor.txt;'"
exit
It used to print the output in the same window, as I expect. Now it prints the respond output in separated windows for each line of command:
This makes my program caot work in the way I expected.
برچسب:
نویسنده: استخدام کار