I tried to execute the command through C #, but when I run the following code, a simple cmd window opens. The code:
string command = string.Format(@"adb install C:\Users\Mohit\Programming\Android_Workspace\{0}\bin\{0}.apk", appName); ProcessStartInfo cmdsi = new ProcessStartInfo("cmd.exe"); cmdsi.Arguments = command; Process cmd = Process.Start(cmdsi);
What could be wrong? I am sure the syntax is right.
source share