I'm trying to set up Jenkins UI tests, and it fails on running emulator command, which was moved from {$ANDROID_SDK}/tools/emulator
to {$ANDROID_SDK}/emulator/emulator
in one of android sdk tools update.
I'm not sure why: the Android Emulator Plugin is in version 3.0 which should already use emulator/emulator path. Jenkins ver. 2.204.1
[android] Erasing existing emulator data...
$ /var/lib/android/tools/emulator -ports 5724,5725 -report-console tcp:5825,max=60 -avd pixel-2-api28 -wipe-data -no-window
FATAL: Cannot run program "/var/lib/android/tools/emulator": error=2, No such file or directory
java.io.IOException: error=2, No such file or directory
Am I missing something?