gsnedders@gsnedders-margot wpt % ./wpt install-android-emulator --reinstall
...
INFO:root:Installing Android packages system-images;android-34;google_apis;x86_64
[=======================================] 100% Unzipping... x86_64/data/misc/pix
[=======================================] 100% Fetch remote repository...
Cannot invoke "java.nio.file.Path.getFileSystem()" because "path" is null
Traceback (most recent call last):
File "/Volumes/gsnedders/projects/Safari/Safari-WebDriver-Actions/wpt/tools/wpt/android.py", line 313, in run_install
install(logger, **kwargs)
File "/Volumes/gsnedders/projects/Safari/Safari-WebDriver-Actions/wpt/tools/wpt/android.py", line 266, in install
install_avd(logger, paths, prompt=prompt)
File "/Volumes/gsnedders/projects/Safari/Safari-WebDriver-Actions/wpt/tools/wpt/android.py", line 204, in install_avd
subprocess.run(cmd, check=True, input=input_data)
File "/AppleInternal/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/Volumes/gsnedders/projects/Safari/Safari-WebDriver-Actions/wpt/_venv3/android/android-sdk-darwin/cmdline-tools/12.0/bin/avdmanager', '--verbose', 'create', 'avd', '--force', '--name', 'mozemulator-android34-x86_64', '--package', 'system-images;android-34;google_apis;x86_64']' returned non-zero exit status 1.
> /AppleInternal/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py(528)run()
-> raise CalledProcessError(retcode, process.args,
(Pdb)
gsnedders@gsnedders-margot wpt % '/Volumes/gsnedders/projects/Safari/Safari-WebDriver-Actions/wpt/_venv3/android/android-sdk-darwin/cmdline-tools/12.0/bin/avdmanager' '--verbose' 'create' 'avd' '--force' '--name' 'mozemulator-android34-x86_64' '--package' 'system-images;android-34;google_apis;x86_64'
[=======================================] 100% Fetch remote repository...
Warning: Android Virtual Device 'mozemulator-android34-x86_64' already exists and will be replaced.
Auto-selecting single ABI x86_64
Do you wish to create a custom hardware profile? [no]
gsnedders@gsnedders-margot wpt % ./wpt start-android-emulator
INFO:root:Using SDK installed at /Volumes/gsnedders/projects/Safari/Safari-WebDriver-Actions/wpt/_venv3/android/android-sdk-darwin/cmdline-tools/12.0
DEBUG: Running on macOS-26.6-arm64-arm-64bit
DEBUG: Emulator created with type arm
DEBUG: Running on macOS-26.6-arm64-arm-64bit
DEBUG: Emulator created with type arm
WARNING: Could not find AVD at /Volumes/gsnedders/projects/Safari/Safari-WebDriver-Actions/wpt/_venv3/android/android-sdk-darwin/.android/avd/mozemulator-armeabi-v7a.avd
CRITICAL:root:Android AVD not found, please run |wpt install-android-emulator|
Traceback (most recent call last):
File "/Volumes/gsnedders/projects/Safari/Safari-WebDriver-Actions/wpt/tools/wpt/android.py", line 327, in run_start
start(logger, **kwargs)
File "/Volumes/gsnedders/projects/Safari/Safari-WebDriver-Actions/wpt/tools/wpt/android.py", line 288, in start
raise OSError
OSError
> /Volumes/gsnedders/projects/Safari/Safari-WebDriver-Actions/wpt/tools/wpt/android.py(288)start()
-> raise OSError
(Pdb)
Getting
Cannot invoke "java.nio.file.Path.getFileSystem()" because "path" is nulljust isn't that useful. 😭