On StackOverflow, someone asks how to detect the GUI Window Created/Closed Event, which Unity3D does not ship an off-the-shelf solution.
Below is my solution to this problem: to use property setter to handle this. Here is the sample code:
In a recent project, I created a Gradle project in windows, but when I load the project in Ubuntu and Mac OSX, an error “SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable”
I then followed the instruction, and in the ~/.bashrc file, I added the environment variable ANDROID_HOME