LaVOZs

The World’s Largest Online Community for Developers

'; java - Android Studio keeps changing "project-jdk-name" in misc.xml - LavOzs.Com

We are using Android Studio (currently 3.6) on two machines (macOS).

The .idea/misc.xml file keeps changing the value for project-jdk-name from "1.8" to "1.8 (2)" back and forth.

.idea/misc.xml change

This has been going on for a while (at least since 3.4/3.5). It's happening for all projects. Both installations are configured to use the embedded JDK (Project Structure > SDK Location > JDK location).

  • How can this be stopped?
  • Where does this name even come from?

Thanks for your help!

Related
Android SDK installation doesn't find JDK
Android Studio - How to Change Android SDK Path
How do I add a library project to Android Studio?
What should be in my .gitignore for an Android Studio project?
What is Gradle in Android Studio?
Rename package in Android Studio
Where to place the 'assets' folder in Android Studio?
Search all the occurrences of a string in the entire project in Android Studio
Android Studio is slow (how to speed up)?
How do I “select Android SDK” in Android Studio?