You should now be able to run the gradle command without the ./ prefix. Try running this command to verify:
gradle -h
Unless it complains it's not executable, use the "chmod +x " command to add execute permissions to that file.
Try the following commands to ensure they work. If they don't then adjust your environment in step 1 or install missing software. Also read the output from the adb/android commands to get an idea of what they are used for:
java -version
javac -version
adb -h
android -h
We now need to create some basic source code so we can build it into an Android app. Use the mkdir command to create a source tree that looks like this (you can download the files you need here: