DEV Community

fiona
fiona

Posted on • Edited on

2 2

android to mac file transfer

I simply want to transfer file from android to mac. Initially I use Android File Transfer, however it stucks at 4GB.

By considering this post, I install android-platform-tools for file transfer.

step 1

on mac, install android-platform-tools.

brew install android-platform-tools
Enter fullscreen mode Exit fullscreen mode

step 2

connect the android device with USB-C to mac.
on the device, go to settings > developer options > enable USB debugging

NOTE: on xiaomi 9, tap MIUI version 7 times to enable developer options

step 3

on mac, run adb devices to confirm that android is connected to mac.

step 4

to copy file to mac, run:

adb pull <device_file_location> <mac_location>
Enter fullscreen mode Exit fullscreen mode

to copy file to device, run:

adb push <mac_file_location> <device_location>
Enter fullscreen mode Exit fullscreen mode

please let me know if there is any other way more straightforward! 😬

Sentry mobile image

Mobile Vitals: A first step to Faster Apps

Slow startup times, UI hangs, and frozen frames frustrate users—but they’re also fixable. Mobile Vitals help you measure and understand these performance issues so you can optimize your app’s speed and responsiveness. Learn how to use them to reduce friction and improve user experience.

Read the guide

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs