All Android guides

Android · Mobile · Files and sync

Sync an Android device folder with Nextcloud

Create an Android folder pair with the system picker, choose upload, download, or two-way direction, and configure durable background sync safely.

Time
10 minutes
Steps
3
Level
Advanced
Updated
2026-08-12
  • Android

Android folder sync connects a folder chosen through the system document-tree picker to one Nextcloud folder. It is different from opening Nextcloud through Android's Files provider and different from pinning a cloud file offline. Start with disposable or independently backed-up data until you have reviewed direction, deletion, and conflict behavior.

  1. Step 1

    Choose the Android and Nextcloud folders

    Nextcloud Native Android Add sync flow showing the selected device folder, the Nextcloud destination, direction, and a reviewable mapping
    The Android setup flow receives access only to the folder chosen in the system picker and keeps both sides visible before creating the pair. Real Compose UI

    Open Folder sync and choose Add sync. Select the local root with Android's system folder picker. Nextcloud Native requests a durable read and write grant only for that chosen tree; broad all-files access is not required for an ordinary pair. Then choose the remote root with the native Nextcloud folder browser.

    Review both locations carefully. Do not select a folder already managed by another sync client, an app cache, or an operating-system directory. Setup detects an existing identical mapping, but it cannot prevent a different application from writing the same tree. The pair is not created until you finish the review step.

    Next: Set direction, deletion, conflicts, and background constraints
  2. Step 2

    Set direction, deletion, conflicts, and background constraints

    Nextcloud Native Android folder-sync review showing both roots, two-way direction, selected-content summary, and the expanded conflict policy at the start of the scrollable safety settings
    Android exposes sync policy before work starts; scroll through the expanded safety settings to review deletion, network, and power choices as well as conflicts. Real Compose UI

    Choose Two-way only when local and remote edits should both propagate. Device to Nextcloud never writes remote changes back to the selected Android folder; Nextcloud to device never uploads local edits. Choose Ask before changing either copy or Keep both copies while learning the workflow. Review the deletion policy separately because a propagated deletion is not the same as a content conflict.

    Select any ignored patterns or a bounded subset, then choose network and power constraints. Android schedules durable periodic checks through WorkManager, approximately every 15 minutes, but the operating system decides the exact run time. Unmetered-network, battery-not-low, and charging constraints can intentionally delay a run.

    Next: Review the first scan and resolve attention states
  3. Step 3

    Review the first scan and resolve attention states

    Nextcloud Native Android folder-sync center showing pair direction, queued work, last run, background schedule, conflicts, failures, and recovery actions
    The Android sync center distinguishes queued, active, failed, conflicted, paused, and up-to-date states instead of reducing them to one progress bar. Real Compose UI

    Create the pair, then run or wait for the first scan while connected. Review the queued operation count before treating the mapping as safe. Up to date means that the latest completed scan found no unresolved work; it does not prove that a future Android schedule will run at an exact minute.

    If both sides changed, choose a conflict action only after comparing the versions. Keep both copies is the conservative recovery. If a result is unknown after interruption, let the durable coordinator reconcile it rather than creating a second pair or repeatedly retrying. Removing the pair removes its configuration and schedule; the current implementation does not delete local or server files when the pair itself is removed.