quamotion / madb

SharpAdbClient is a .NET library that allows .NET applications to communicate with Android devices. It provides a .NET implementation of the adb protocol, giving more flexibility to the developer than launching an adb.exe process and parsing the console output.
Apache License 2.0
360 stars 133 forks source link

ExecuteRemoteCommand takes forever and does nothing. #140

Open forlayo opened 5 years ago

forlayo commented 5 years ago

Executing the test instruction:

AdbClient.Instance.ExecuteRemoteCommand("echo Hello, World", device, receiver); It keeps blocked at this point, the command is not being executed on remote machine.

Version of adb is this one:

C:\Users\mda
λ adb --version
Android Debug Bridge version 1.0.40
Version 4986621
Installed as C:\Users\mda\AppData\Local\Android\Sdk\platform-tools\adb.exe
vacekj commented 5 years ago

Any update on this?

atimofeev86 commented 4 years ago

I have same issue, Can you help?

AdbClient.Instance.ExecuteRemoteCommand("su -c 'cp /sdcard/download/267-patch/adid_settings.xml /data/data/com.google.android.gms/shared_prefs/adid_settings.xml'", device, rcvr); takes forever and does nothing.

adb --version Android Debug Bridge version 1.0.41 Version 30.0.3-6597393 Installed as C:\AndroidSDK\platform-tools\adb.exe