Building in workspace /home/anton/.jenkins/workspace/test
[android] No Android SDK found; let's install it automatically...
[android] Going to install required Android SDK components...
[android] Installing the 'platform-tool' SDK component(s)...
FATAL: null
java.lang.NullPointerException
	at hudson.Launcher$ProcStarter.envs(Launcher.java:302)
	at com.cloudbees.jenkins.plugins.customtools.CustomToolInstallWrapper$2.launch(CustomToolInstallWrapper.java:204)
	at hudson.Launcher$ProcStarter.start(Launcher.java:353)
	at hudson.plugins.android_emulator.SdkInstaller.installComponent(SdkInstaller.java:213)
	at hudson.plugins.android_emulator.SdkInstaller.doInstall(SdkInstaller.java:94)
	at hudson.plugins.android_emulator.SdkInstaller.install(SdkInstaller.java:66)
	at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:241)
	at hudson.model.Build$BuildExecution.doRun(Build.java:154)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
	at hudson.model.Run.execute(Run.java:1603)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:247)