Android Emulator Plugin funktioniert nicht in Jenkins

Wenn ich Jenkins mit der Option create emulator teste, habe ich folgendes Problem:

[android] Android-Emulator konnte nicht erstellt werden: Fehler beim Ausführen des AVD-Erstellungsbefehls

Wenn ich einen vorhandenen Emulator anvisiere, tritt folgendes Problem auf:

FATAL: C: \ Windows \ system32 \ config \ systemprofile.android \ avd \ AVD_2.2.ini (Das System kann den angegebenen Pfad nicht finden.) Java.io.FileNotFoundException: C: \ Windows \ system32 \ config \ systemprofile.android \ avd \ AVD_2.2.ini (Das System kann den angegebenen Pfad nicht finden) bei java.io.FileInputStream.open (native Methode) bei java.io.FileInputStream. (unbekannte Quelle) bei java.io.FileReader. (unbekannte Quelle) at hudson.plugins.android_emulator.util.Utils.parseConfigFile (Utils.java:436) at hudson.plugins.android_emulator.SdkInstaller $ 2.call (SdkInstaller.java:331) at hudson.plugins.android_emulator.SdkInstaller .java: 328) bei hudson.remoting.LocalChannel.call (LocalChannel.java:45) bei hudson.plugins.android_emulator.SdkInstaller.getPlatformFromExistingEmulator (SdkInstaller.java:328) bei hudson.plugins.android_emulator java: 312) bei hudson.plugins.android_emulator.SdkInstaller.installDependencies (SdkInstaller.java:174) bei hudson.plugins.android_emulato r.AndroidEmulator.setUp (AndroidEmulator.java:247) bei hudson.model.Build $ BuildExecution.doRun (Build.java:154) bei hudson.model.AbstractBuild $ AbstractBuildExecution.run (AbstractBuild.java:499) bei hudson.model .Run.execute (Run.java:1488) at hudson.model.FreeStyleBuild.run (FreeStyleBuild.java:46) at hudson.model.ResourceController.execute (ResourceController.java:88) at hudson.model.Executor.run ( Executor.java:236)

Ich habe diese Datei. Wenn ich einen manuellen Emulator starte und auf Jenkins teste, funktioniert es.

Antworten auf die Frage(1)

Ihre Antwort auf die Frage