1# How to update
2
31. `./fetchrepo.sh`
42. `./mkrepo.sh`
53. Check the `repo.json` diff for new stable versions of `tools`, `platform-tools`, `build-tools`, `emulator` and/or `ndk`
64. Update the relevant argument defaults in `compose-android-packages.nix`
7
8# How to run tests
9You may need to make yourself familiar with [package tests](../../../README.md#package-tests), and [Writing larger package tests](../../../README.md#writing-larger-package-tests), then run tests locally with:
10
11```shell
12$ export NIXPKGS_ALLOW_UNFREE=1
13$ cd path/to/nixpkgs
14$ nix-build -A androidenv.test-suite.tests
15```