📄️ JAVA_HOME
Once you are done with JAVA JDK on your machine you need to set the JAVAHOME also when you want to execute the Automation test you need to set the environment variable for JAVAHOME.
📄️ ANDROID_HOME
Once you are done with Android SDK on your machine you need to set the ANDROIDHOME also when you want to execute the Mobile test automation using Appium you need to set the environment variable for ANDROIDHOME.