You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and didn't find mine.
Steps to reproduce
Open PowerShell or Command Prompt on Windows.
Run following command maestro start-device --platform android per documentation.
Actual results
C:\Users\username>maestro start-device --platform android
Cannot run program "uname": CreateProcess error=2, The system cannot find the file specified
The stack trace was:
java.io.IOException: Cannot run program "uname": CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
at maestro.cli.util.EnvUtilsKt.runProcess(EnvUtils.kt:185)
at maestro.cli.util.EnvUtils.determineArchitectureDetectionStrategy(EnvUtils.kt:125)
at maestro.cli.util.EnvUtils.getMacOSArchitecture(EnvUtils.kt:121)
at maestro.cli.device.DeviceCreateUtil.getOrCreateAndroidDevice(DeviceCreateUtil.kt:93)
at maestro.cli.device.DeviceCreateUtil.getOrCreateDevice(DeviceCreateUtil.kt:16)
at maestro.cli.device.DeviceCreateUtil.getOrCreateDevice$default(DeviceCreateUtil.kt:8)
at maestro.cli.command.StartDeviceCommand.call(StartDeviceCommand.kt:98)
at maestro.cli.command.StartDeviceCommand.call(StartDeviceCommand.kt:23)
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
at maestro.cli.DisableAnsiMixin$Companion.executionStrategy(DisableAnsiMixin.kt:22)
at picocli.CommandLine.execute(CommandLine.java:2078)
at maestro.cli.AppKt.main(App.kt:143)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:505)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
... 19 more
Expected results
Expect an emulator appear...
About environment
Android Studio Ladybug Feature Drop | 2024.2.2
Runtime version: 21.0.4+-12508038-b607.1 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
Maestro version
1.39.9
How did you install Maestro?
Per Windows instructions.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Steps to reproduce
maestro start-device --platform android
per documentation.Actual results
Expected results
Expect an emulator appear...
About environment
Android Studio Ladybug Feature Drop | 2024.2.2
Runtime version: 21.0.4+-12508038-b607.1 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
Maestro version
1.39.9
How did you install Maestro?
Per Windows instructions.
The text was updated successfully, but these errors were encountered: