1) There was a Lesson on just installing Android tools + JDK.FourthWorld wrote: ↑Wed Jul 21, 2021 12:55 amI had thought that Lesson was updated some years ago, no?
2) That was deprecated by a Lesson on installing Android Studio + JDK.
When 2) failed for me last year (and I saw lots of others had had the "JDK not found error"), in my attempts to get round this I found that Android Studio has for some years come with its own internal JDK. My suggestion is that LC re-work their own installation/setup routines to only need that JDK. Doing that should stop this error. The JDK version/place will be fixed, the user can't make a mistake.
Others have responded with "just use 1)". Such workarounds might help experienced/committed people. Who knows how many people hear "LC is a great free tool for Android development", install LC + Android Studio + JDK, then can't get it to work and just give up?
Others have just installed JDK 16 (I think) because that is the only one compiled for M1 chip. I'm happy for them that worked, but the most basic method provided by LC needs to be cross-platform and standard and less error prone.