Romain Vimont
Romain Vimont
> Is there different between sndcpy or scrcpy They are very different. Sndcpy was just a proof-of-concept using the [playback capture API](https://developer.android.com/guide/topics/media/playback-capture) introduced in Android 10. It installs a real...
> USB debugging enabled Then it might be your USB cable. Try another one with data support.
The detection is not handled by scrcpy, but by adb. Once you can make `adb devices` detect your device, it will work. Are you sure USB debugging is correctly enabled?...
What if you execute the exact same command with adb push manually? ``` adb push D:\Documents\Downloads\ABC.zip /sdcard/Download ``` ? (or a file with a log file name)
> scrcpy.exe -K --push-target=/storage/emulated/0/Download/ What is the result of: ``` adb push D:\Documents\Downloads\ABC.zip /storage/emulated/0/Download/ ``` ?
I don't understand, because scrcpy executes exactly this command. 🤔
Please test with more logs: ```diff diff --git a/app/src/adb/adb.c b/app/src/adb/adb.c index 15c9c85a9..d669ed59d 100644 --- a/app/src/adb/adb.c +++ b/app/src/adb/adb.c @@ -317,6 +317,11 @@ sc_adb_push(struct sc_intr *intr, const char *serial, const char *local,...
### ABC.zip > ``` > INFO: [adb push] > INFO: === [0]: [adb] > INFO: === [1]: [-s] > INFO: === [2]: [208b0638] > INFO: === [3]: [push] > INFO:...
OK, so you get the same behavior with adb alone (some files work, some files don't, maybe randomly). This is a problem in adb (maybe the adb server on your...
https://github.com/Genymobile/scrcpy/blob/master/doc/connection.md