Adds android script with TODOs.
This commit is contained in:
21
.rc.d/android.sh
Executable file
21
.rc.d/android.sh
Executable file
@@ -0,0 +1,21 @@
|
|||||||
|
# Android sdk
|
||||||
|
# ~/Library/Android/sdk/
|
||||||
|
if [ -d "${HOME}/Library/Android/sdk" ]; then
|
||||||
|
export ANDROID_HOME="${HOME}/Library/Android/sdk"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "${HOME}/Applications/Android/cmdline-tools" ]; then
|
||||||
|
export ANDROID_HOME="${HOME}/Applications/Android/cmdline-tools"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "${ANDROID_HOME}" ]; then
|
||||||
|
path=(${ANDROID_HOME}/cmdline-tools/latest/bin $path)
|
||||||
|
# TODO: Find a way to get these versions as the latest versions in the directories.
|
||||||
|
path=(${ANDROID_HOME}/build-tools/34.0.0 $path)
|
||||||
|
path=(${ANDROID_HOME}/ndk/26.1.0909125 $path)
|
||||||
|
path=(${ANDROID_HOME}/platform-tools $path)
|
||||||
|
path=(${ANDROID_HOME}/tools $path)
|
||||||
|
path=(${ANDROID_HOME}/tools:/bin $path)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# "extras;google;simulators" "ndk;27.0.11718014" "platform-tools" "platforms;android-34" "system-images;android-34;default;arm64-v8a"
|
||||||
Reference in New Issue
Block a user