local.properties should not be part of the versioned code. It's used as your local project configuration and Android Studio will create it based on on
ANDROID_HOME if it doesn't exist yet.
If local.properties is not available, Gradle will use
If local.properties is available, Gradle will use this file having a wrong
sdk.dir set and fail.