Hello! I recently faced an issue trying to upload big file to Android tablet. It doesn’t detect with MTP so I tried to push it via ADB. But I get this error:
$ adb push myfile /sdcard
adb: error: 65544-byte write failed: Success
How can I fix it? Why is this happening? Storage space is enough:
EDIT: I want to use it for app devlopment, so I need ADB or quick MTP for app installing.
Is
/sdcard
really the correct path? Maybe try/storage/emulated/0
? That’s the internal storageSame error. Plus /sdcard is just symlink to /storage/emulated/0/
Yeah but sometimes stuff like this works even if it seems to make no sense. If both of your devices are on the same wifi, maybe you can just use something to transfer it using that like KDE Connect. If you don’t want to install anything, you could even try using SSH.
It will be very inconvenient to transfer app via KDE Connect on every Android Studio build
Android studio has it’s own way to install, just enable wireless debug in devs settings (tap 7 times the build number in software info) and connect it to android studio. That’s how I do it and just click the “play” button and studio does everything automatically
Yes, but it crashes with “connection reset” if app is big enough.
That’s really weird. Have you tried if it’s something as simple as the cable? You could also try using wireless adb if you can’t get it to work over the cable at all. I also always use wireless adb, it still allows Android Studio (or in my case VS Code) to automatically install it on your device but I find it a lot easier anyways because it just connects automatically and you don’t have to plug anything in first.
Uh I didn’t know that