I created a Gradle Android Module project recently and discovered that on occasion a java SDK defined under Project Structure -> Platform Settings -> SDKs will get deleted. This can happen either when switching between the gradle project and a regular java app, or when starting IntelliJ when the gradle project was the most recently used. Switching between java apps or non-gradle android projects doesn't seem to cause any problems. I've got multiple java SDKs defined, as well as a couple of Android, Python, and a Ruby SDK. The only SDK that gets deleted is one of the java ones, and not always the same one.
I'm using IntelliJ Ultimate 13.1.2 on a Windows 8.1 box. In the attached log file, a SDK was deleted at roughly 19:54.
Any help would be greatly appreciated.