Skip to content

Redownload Option

Taner Sener edited this page Jul 15, 2026 · 1 revision

The repository does not keep external library sources in tree. Build scripts download FFmpeg and enabled external libraries into src before building them.

Use --redownload-LIBRARY to delete the existing source checkout and download it again.

--redownload-LIBRARY

Replace LIBRARY with the build option name, such as ffmpeg, gnutls, dav1d, fontconfig, xvidcore or a custom library name.

Examples:

./nix-android.sh -p android-r27d --enable-gnutls --redownload-gnutls --rebuild-gnutls
./scripts/start-android.sh --enable-gnutls --redownload-gnutls --rebuild-gnutls

--redownload-LIBRARY only refreshes the source checkout. It does not enable the library, force installed artifacts to rebuild, or regenerate Autotools files.

  • To redownload an optional library, also pass --enable-LIBRARY or use --full.
  • To compile the redownloaded source when prebuilt artifacts already exist, also pass --rebuild-LIBRARY.
  • To regenerate Autotools files after redownloading, also pass --reconf-LIBRARY.

Example:

./nix-android.sh -p android-r27d --enable-kvazaar --redownload-kvazaar --reconf-kvazaar --rebuild-kvazaar

Use this option when a source checkout is corrupted, incomplete, manually changed, or downloaded before the current patch set was applied.

Clone this wiki locally