I'm using android sdk and I need to use the android
command in my script, the file I need is in the following folder: /my_downloads/android-sdk/tools/android
.
I tried to do this in my bash script:
#!/bin/bash
ANDROID_PATH="/my_downloads/android-sdk/tools/android/"
"$ANDROID_PATH"android # etc...
but it does not work. What is the correct way to do that maintaining that path as variable?
Thanks
/my_downloads/android-sdk/tools/android/android
file have the execution bit set? Also check whether execution is allowed for the parent file system:mount | grep noexec
.