JDK Installation Error

Hello…I am a beginner in unity. I want to run my unity game on android. But every time I press the ‘build and run button’ it shows the following error:
6816923--791762--upload_2021-2-9_2-2-51.png
I check on JDK. I installed version JDK 1.8. I included path and Java_Home paths in an environment variable according to the described instruction over the internet. I also follow this error message and in preferences the default is as given:
6816923--791765--upload_2021-2-9_2-6-49.png

While installation of unity, I also install complete Android Build Support with its subcategory also checked that is SDK, NDK, and OpenJDK but when I followed this path as mentioned in the above picture, I didn’t find any of these subcategories (SDK, NDK, and OpenJDK) in AndroidPlayer folder.

How could I fix this issue? And I use Unity Remote? (I enabled USB Debugging and build no in mobile already).
Unity version: 2019.3.7
Windows 10
JDK: 1.8

Hey, could you try installing a supported Unity editor (2019.3 is no longer supported). If you wish to preserve as similar release to yours as possible, do use Unity LTS version - 2019.4, which can be downloaded here:

Please share how did it go whenever you had a chance to do so!

I resolved my problem. I manually install JDK 1.8 and set environment variables. After JDK, when I again run and build the game the android SDK error occurs and it was Android SDK invalid and for this, I manually set this (I have installed Android Studio and this SDK path I used). and then I get an NDK error; I have an NDK folder in the AndroidPlayer folder but this didn’t work for me so I manually install it (NDK r-19) and then give its path. This all work well for me.

One important thing after JDK error fixation and when an android error occurs(I don’t remember what the exact error was) and it shows like You android is outdated 0<26.0 with two option of update or use instead highest and for this, I made changes in package.xml(Android/sdk/tools/package.xml) file by changing its obsolete value from obsoloete to obsolete and this goes well for me…

Here is my package.xml line where I made change for refernece: (the bold letter are change part from true to false)
(/license><localPackage path=“tools” obsolete=“false”>2611Android SDK Tools20</ns2:repository>)