Hi,
I am new to mobile automation.
I am setting up appium on my MAC.
When I am running appium-doctor in a new terminal, I am getting error for ANDROID_HOME
info AppiumDoctor ### Diagnostic starting ###
WARN AppiumDoctorANDROID_HOME is NOT set!
WARN AppiumDoctorJAVA_HOME is NOT set!
WARN AppiumDoctoradb could not be found because ANDROID_HOME is NOT set!
WARN AppiumDoctorandroid could not be found because ANDROID_HOME is NOT set!
WARN AppiumDoctoremulator could not be found because ANDROID_HOME is NOT set!
info AppiumDoctor ### Diagnostic completed, 5 fixes needed. ###
info AppiumDoctor
info AppiumDoctor ### Manual Fixes Needed ###
info AppiumDoctor The configuration cannot be automatically fixed, please do the following first:
WARN AppiumDoctor - Manually configure ANDROID_HOME.
WARN AppiumDoctor - Manually configure JAVA_HOME.
WARN AppiumDoctor - Manually configure ANDROID_HOME and run appium-doctor again.
info AppiumDoctor ###
info AppiumDoctor
info AppiumDoctor Bye, run appium-doctor again when the all the manual fixes have been applied!
info AppiumDoctorWhen I am opening a new terminal and giving command : source ~/.bash_profile , everything is working fine.
Is there any solution for this, where I don't have to give this command all the time?I have downloaded the appium desktop version as well. When I run Appium Doctor from there, I get the error for "ANDROID_HOME" not set.
Thanks!!
created
Mar '16
last reply
Mar '18
- 27
replies
- 10.1k
views
- 5
users
- 3
likes
- 2
links