Environment setup in windows

i am getting the error while building the project for android. And i have done the environment setup already. Please help. Thank you

Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=C:\Users\lenovo\AppData\Local\Android\Sdk (DEPRECATED)
Requirements check failed for JDK 8 (‘1.8.*’)! Detected version: 14
Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.


I would suggest you go to the link given below:

Setting Up Android Environment - Quick And Easy

And please check in case you forgot to add something while setting up the Android environment.

Hope this helps!!!

Please let me know if the error still persists :blush:

Hi! have you solved this? i am having same issue, pls help :cry:

i tried this solution but the error still persist. help pls