Timeout (360 seconds) reached; failed to start emulator
---> Device ready.
---> Install Python on the emulator.
/home/pydev/build/python-native/python -B 
/home/pydev/abifa/Android/tools/install.py
error: device 'emulator-5556' not found

I can reproduce this error after removing the kvm kernel modules (I am on 
ArchLinux and ArchLinux kernels provide the required kernel modules to support 
KVM virtualization).  So my fault, forgot to explain that kvm is required to 
run this docker image, kvm is not required though when the docker image is 
built for other architectures (non x86_64), but it is very very slow then.

To fix the problem one must install the Linux distribution packages that 
provide KVM virtualization.  Whatever the Linux distribution it may also be 
necessary to enable virtualization support in the BIOS.

I will enter an issue and update the documentation at 
https://gitlab.com/xdegaye/abifa.

Thanks Stephane for the report.

Xavier


On 2/19/19 4:52 PM, Stephane Wirtel wrote:
Hi Xavier,

I get this exception

Timeout (360 seconds) reached; failed to start emulator
---> Device ready.
---> Install Python on the emulator.
/home/pydev/build/python-native/python -B 
/home/pydev/abifa/Android/tools/install.py
error: device 'emulator-5556' not found
unzip -q /home/pydev/dist/python3.8-android-24-x86_64-stdlib.zip -d 
/tmp/tmpt_v_gdbo
/home/pydev/android/android-sdk/platform-tools/adb -s emulator-5556 shell mkdir 
-p /data/local/tmp/python
Command "('/home/pydev/android/android-sdk/platform-tools/adb', '-s', 
'emulator-5556', 'shell', 'mkdir -p /data/local/tmp/python')" returned non-zero exit 
status 1
/home/pydev/abifa/Android/emulator.mk:57: recipe for target '_install' failed
make: *** [_install] Error 1
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to