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.

    • Fisch@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      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.

      • user_naa@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        It will be very inconvenient to transfer app via KDE Connect on every Android Studio build

        • Cris16228
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          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

            • Fisch@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 day ago

              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.