Setting local properties in Android Studio

How to set local property in Android Studio projects? I would like to set a directory variable for the project, which, obviously, may be different for each user of the project. It appears that local.properties would be a good place for this to be accessed through the top level of build.gradle , however the local.properties heading says

Do not modify this file - YOUR CHANGE WILL BE DELETED!

This file should NOT be checked in version control systems, as it contains information specific to your local configuration.

It seems to be a comment that this is a file to use, but then it continues to claim that you don’t make any changes.

+5
source share

All Articles