Programming Tips - Android Studio: Invalid Gradle JDK configuration found.

Date: 2021jul9 OS: Windows Product: Android Studio Q. Android Studio: Invalid Gradle JDK configuration found. Open Gradle Settings Change JDK location. A. I checked the folder I had specified and it was correct. The solution was to remove some generated files:
.idea/gradle.xml .idea/workspace.xml
Then close program and open project. I Found this solution on Stack Overflow - but made this article since there were other bad suggestions there too. https://stackoverflow.com/questions/30328994/invalid-gradle-jdk-configuration-found