Cannot start Android emulator from command line on Mac OS X

About 2 weeks ago, I can’t start Android Emulator from the command line on mac os x, unless I’m in the sdk tools folder for android. Emulators are launched from the AVD Manager mode.

I run the emulator with this command

"emulator -avd Nexus_6p_API_23"

And got an error message below

"[140736029389760]: ERROR: ./ android / qt / qt_setup.cpp: 28: Qt library not found in .. / emulator / lib 64 / qt / lib Could not start '../emulator/qemu/darwin-x86_64/ qemu-system-x86_64 ': no ​​such file or directory "

Anyone have an idea about this?

+4
source share
1 answer

Try the following:

/Users/[your_name]/Library/Android/sdk/tools/emulator -avd Nexus_6p_API_23

Free script for you

start_6p_23.sh:

#!/bin/bash
/Users/[your_name]/Library/Android/sdk/tools/emulator -avd Nexus_6p_API_23
+10
source

Source: https://habr.com/ru/post/1671697/


All Articles