where where

Results 284 comments of where where

Mybe you need to know what's `using` and what's `await`...

> ```cs > public async Task Start() > { > StartServerResult startServerResult = await AdbServer.Instance.StartServerAsync(@"C:\Users\Itamar\AppData\Local\Android\Sdk\platform-tools\adb.exe", false, CancellationToken.None); > Trace.WriteLine(startServerResult); // result is already running > > await using DeviceMonitor deviceMonitor...

It takes my afternoon... ```cs await PullFolderAsync("/sdcard/Documents/SAI", "C:/Users/qq251/Downloads/Compressed/Test"); async Task PullFolderAsync(string remotePath, string localPath) { if (!Directory.Exists(localPath)) { Directory.CreateDirectory(localPath); } using SyncService service = new(device); FileStatistics stat = await service.StatAsync(remotePath);...

Because I fixed it in new commit. You need to reopen the service after pull, push and list.

It will be like in next version ```cs using SyncService service = new(device); await PullFolderAsync("/sdcard/Documents/SAI", "C:/Users/qq251/Downloads/Compressed/Test"); async Task PullFolderAsync(string remotePath, string localPath) { if (!Directory.Exists(localPath)) { Directory.CreateDirectory(localPath); } using SyncService...

https://gist.github.com/wherewhere/53c49073c5da2c17536f99410899359d

??? That's DeviceClient...

It works on my device... https://github.com/SharpAdb/AdvancedSharpAdbClient/assets/27689196/bf3e1a35-db1d-4db1-a2d8-4fc8c9ebfcdb

.net4.8 also works. Try using `client.StartApp(device, "com.bilibili.app.in")` ![Screenshot_20240208-195941_Termux.png](https://github.com/SharpAdb/AdvancedSharpAdbClient/assets/27689196/1c5d6ab0-f783-40dc-bb86-40e5acba4c8c)