bash.d/20-android
Ole-Morten Duesund 2b747b6945 Rename 99-android to 20-android and improve CLAUDE.md
99-android was not a credential file — it sets up Android SDK paths
and belongs with other build tools. Also updated CLAUDE.md with
validate-all command, test instructions, and clearer permission rules.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 12:09:51 +01:00

11 lines
442 B
Text
Executable file

# shellcheck shell=bash
# Set up Android SDK and Java paths for Android development
# Adds adb, fastboot, and SDK command-line tools to PATH
if [[ -d "$HOME/android-sdk" ]]; then
export ANDROID_HOME="$HOME/android-sdk"
path_append "$ANDROID_HOME/cmdline-tools/latest/bin"
path_append "$ANDROID_HOME/platform-tools"
fi
if [[ -d /usr/lib/jvm/java-17-openjdk-amd64 ]]; then
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
fi