About ANDROID_HOME error message generation timing

Document ID : KB000093700
Last Modified Date : 14/05/2018
Show Technical Document Details
Question:
Could you please give us the information about the timing that the error message below is recorded in Simulator.log?

ERROR AndroidAvdHelper - com.itko.lisa.mobile.android.AndroidSdkException: ANDROID_HOME is not set.
ERROR System.err - Exceptionin thread pool-7-threaad-4 java.lang.NullPointerException
Answer:
The condition to record this message in Devtest 9.0 or 9.1 is
-----------------------------------------------------------------------
Simulator runs in the linux machine and the DevTest Console access occurs.
And if the access(login) to the DevTest Console continues, then the process
% /bin/bash -i ... echo $ANDROID_HOME
increases periodically. And the message is recorded in the Simulator.log
-----------------------------------------------------------------------
The DevTest Console is not continuned from DevTest 9.5 or upper(EOS feature).

And the way which is described in the knowledge article KB000038028 is for avoiding to create a large number of zombi processes like
% /bin/bash -i ... echo $ANDROID_HOME
in the Linux operating system. And we cannot promise that this way can avoid the message in the Simulator.log.