安卓emulator 命令行报错:could not launch ‘Library/Android/sdk/tool/../emulator/qemu/darwin-x86_64/qemu-system之类
这是因为应该用 emulator/emulator 而不是 tool/emulator,在路径配置属性文件把 emulator文件夹放在 tool文件夹之前就可以了。
export ANDROID_HOME='/Users/xxx/Library/Android/sdk'
export PATH=$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/cmdline-tools/latest:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools