Error while building the Android Project:
SDK location not found. Define location with an 
ANDROID_SDK_ROOT environment variable or by setting the 
sdk.dir path in your project's local properties file at 
.../local.properties.Solution is to create a file named local.properties at the root of your Android project. If you are or on MAC or Ubuntu you can use the following command to create that:
touch local.propertiesEnter the following text in that file:
sdk.dir = /Users/<yourusername>/Library/Android/sdkExample:
sdk.dir = /Users/johnsmith/Library/Android/sdkThe above example was for MAC, for Ubuntu it would be:
sdk.dir = /home/<UserName>/Android/Sdkand for Windows it would be:
C:\\Users\\<YourUserName>\\AppData\\Local\\Android\\sdkSave the file and rebuild the Android project and it should work now.