A native macOS file explorer for connected Android devices, built with Swift and SwiftUI. Browse, preview, and download files from your Android phone or tablet directly from your Mac β no third-party apps required.
- Auto-detects connected Android devices via ADB (Android Debug Bridge)
- Polls every 3 seconds for device connect / disconnect events
- Displays device model name and connection status (Connected, Unauthorized, Offline, Recovery)
- Prompts to authorize USB debugging when a device is Unauthorized
- Auto-installs ADB via Homebrew if not found, with a live streaming install log
- Starts in
/sdcard(Internal Storage) by default β just like other Android file explorers - Full back / forward navigation history
- Breadcrumb bar showing the current path with clickable segments
- Refresh with βR
- Item count displayed in the toolbar
- System files marked with a lock badge and muted colour so they stand out
List View β Classic compact rows with file name, size, and date columns. Sorted directories-first, then alphabetically.
Tree View β Expandable directory tree. Children are loaded lazily on first expand. Collapse all with one click.
Card View β Square grid of cards. Image files (JPG, PNG, HEIC, WEBP, GIF, BMP, TIFF) display a live thumbnail pulled from the device. Other file types show a large colour-coded icon with an extension badge. Thumbnails load lazily as cards scroll into view, with a max of 4 concurrent downloads.
Quick-jump links to the most-used Android paths:
- Internal Storage (
/sdcard) - Downloads, Camera, Pictures, Music, Movies, Documents
- WhatsApp folder
- Android data folder
- Root (
/)
- βF to activate, Esc to dismiss
- Debounced (400 ms) β no ADB spam on every keystroke
- Searches the current directory recursively via
adb shell find - Results grouped directories-first, each showing its parent path
- Right-click on any result for the full context menu
Double-click any image file to open DroidDuck's built-in preview without leaving the app:
- Smooth scroll-wheel / trackpad zoom
- Double-click image to toggle Fit β Actual Size (100%)
- Zoom In / Out buttons with live percentage readout
- Copy image to clipboard
- Reveal temp file in Finder
- Image dimensions shown (e.g. 4032 Γ 3024 px)
Right-click any supported file β Open in System App to pull the file and open it in the macOS default handler:
| Type | Opens In |
|---|---|
| Images (JPG, PNG, HEIC, WEBPβ¦) | Preview / Photos |
| Preview | |
| Audio (MP3, AAC, FLAC, WAVβ¦) | Music / QuickTime |
| Video (MP4, MOV, MKV, AVIβ¦) | QuickTime Player |
| Text / Code (TXT, JSON, Swift, Pythonβ¦) | TextEdit / default editor |
| Documents (DOCX, Pages, ODT) | Pages / Word |
| Spreadsheets (XLSX, Numbers, ODS) | Numbers / Excel |
A status banner slides up from the bottom of the window while the file is downloading, with an error state that auto-dismisses after 5 seconds.
Right-click any file β Download to Mac to save it to your ~/Downloads folder. Automatically renames the file if one with the same name already exists. Reveals the saved file in Finder when done.
- Quick Preview (images)
- Open in System App
- Download to Mac
- Copy Path / Copy Name
- Get Info (full metadata sheet: permissions, owner, group, size, date, symlink target)
- Rename (coming soon)
- Delete (coming soon)
Help β Diagnostics (ββ₯D) shows a colour-coded report:
- macOS version
- App Sandbox status
- Homebrew path
- ADB binary path and version
- ADB daemon status
- Connected devices
- Common path accessibility scan
| macOS | 13 Ventura or later |
| Xcode | 15 or later |
| ADB | Installed automatically via Homebrew, or manually |
| Android device | USB debugging enabled |
- Go to Settings β About Phone
- Tap Build Number 7 times to unlock Developer Options
- Go to Settings β Developer Options
- Enable USB Debugging
- Connect via USB and tap Allow when prompted on the device
git clone https://github.com/greenSyntax/droid-duck-mac.git
cd DroidDuckopen DroidDuck/DroidDuck.xcodeprojIn Xcode, select the DroidDuck target β Signing & Capabilities β remove the App Sandbox capability. Without this, macOS will block the ADB subprocess from running.
Select your Mac as the run destination and press βR.
DroidDuck looks for ADB in these locations in order:
/opt/homebrew/bin/adb(Homebrew, Apple Silicon)/usr/local/bin/adb(Homebrew, Intel)~/Library/Android/sdk/platform-tools/adb(Android Studio)~/Android/sdk/platform-tools/adb/usr/bin/adb- Output of
which adb(covers custom PATH entries)
If ADB is not found and Homebrew is installed, DroidDuck offers to install it automatically. If Homebrew is not installed, the empty state shows manual install instructions.
Manual install:
# Homebrew (recommended)
brew install --cask android-platform-tools
# Or download platform-tools directly from Google:
# https://developer.android.com/tools/releases/platform-toolsDroidDuck/
βββ DroidDuckApp.swift # App entry point, menus
βββ Models/
β βββ DeviceInfo.swift # Device model + status enum
β βββ FileNode.swift # File/folder model, ls parser, openable categories
βββ Services/
β βββ ADBService.swift # ADB actor: list devices, list directory, pull, search
β βββ DeviceManager.swift # Device polling, Homebrew install orchestration
βββ ViewModels/
β βββ FileBrowserViewModel.swift # Navigation, search, tree, thumbnails, open/download state
βββ Views/
βββ ContentView.swift # NavigationSplitView root
βββ Sidebar/
β βββ DeviceSidebarView.swift # Devices + Locations panel
βββ Browser/
β βββ FileBrowserView.swift # Toolbar, breadcrumbs, search bar, content routing
β βββ FileRowView.swift # List view row
β βββ TreeBrowserView.swift # Tree view + TreeRowView
β βββ CardBrowserView.swift # Card grid + thumbnail loading
β βββ ImagePreviewView.swift # Full image preview sheet
βββ Shared/
βββ DiagnosticsView.swift # Diagnostics report sheet
βββ EmptyStateView.swift # No-ADB / no-device empty state
βββ FileActionBanner.swift # Download / open status banner
| Shortcut | Action |
|---|---|
| βR | Refresh current directory |
| β[ | Go back |
| β] | Go forward |
| βF | Activate search |
| Esc | Dismiss search |
| ββ§R | Refresh device list |
| ββ₯D | Open Diagnostics |
- Write operations (rename, delete, new folder) are not yet implemented
- APK installation is not yet supported
- Directories cannot be downloaded as a zip (file-only download for now)
- Very large video files may take a while to pull before opening in QuickTime
MIT License. See LICENSE for details.
