### Prepare Build Environment Source: https://github.com/tailscale/tailscale-android/blob/main/README.md Instructions for setting up the build environment, including installing Go, Android SDK, and Android Studio components. It also covers using a non-standard SDK path and enabling code formatting. ```sh # Install Go runtime (https://go.dev/dl/) # Install Android Studio (https://developer.android.com/studio) # In SDK manager, select SDK Tools tab and install "Android SDK Command-line Tools (latest)" make androidsdk # If using non-standard SDK path, set ANDROID_SDK_ROOT # To get correct tool path, run: make androidpath export PATH="$(make androidpath):$PATH" # Enable "Format on Save" in Android Studio for ktmft plugin. ``` -------------------------------- ### Build and Install Tailscale Android Source: https://github.com/tailscale/tailscale-android/blob/main/README.md Commands to build the Tailscale Android client APK and install it on a connected device. ```sh make apk make install ``` -------------------------------- ### Fire Stick TV Development Commands Source: https://github.com/tailscale/tailscale-android/blob/main/README.md Useful ADB commands for developing on a Fire Stick TV device, including connecting, installing the APK, starting the app, and uninstalling it. ```sh adb connect 10.2.200.213:5555 adb install -r tailscale-fdroid.apk adb shell am start -n com.tailscale.ipn/com.tailscale.ipn.MainActivity adb shell pm uninstall com.tailscale.ipn ``` -------------------------------- ### Docker Development Environment Source: https://github.com/tailscale/tailscale-android/blob/main/README.md Builds and starts a shell environment using Docker for development, preserving the image and removing the container on completion. Cached Docker images may need rebuilding if the build environment or toolchain changes. ```sh make docker-shell ``` -------------------------------- ### Nix Development Environment Source: https://github.com/tailscale/tailscale-android/blob/main/README.md Sets up a development environment using Nix version 2.4 or later for the Tailscale Android project. ```sh alias nix='nix --extra-experimental-features "nix-command flakes"' nix develop ``` -------------------------------- ### Tag Release Source: https://github.com/tailscale/tailscale-android/blob/main/README.md Bumps the Android version code, updates the version name, and tags the current commit for a release. ```sh make tag_release ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.