bash.d/99-android
Ole-Morten Duesund 0791d74b0d Add descriptive comments to all scripts
Each file now has a brief comment explaining what the tool is and
what the script does, aimed at someone with general Linux knowledge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 12:05:05 +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