I cloned the project from gitHub to check the sample code on segment.io. After importing into the android studio I am getting the error
Error:SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
I changed the SDK location in local.properties
to my current SDK location which is
sdk.dir = /home/mobiefit/Android/Sdk
But I am still getting the same error.