我想从Windows cmd启动支持SD卡的Android模拟器。
我尝试过:
emulator -sdcard C:/Documents and Settings/User/sdcard.img -avd avd_tablet
它无法正常工作:命令行参数无效:and
emulator -sdcard C:/Documents^ and^ Settings/User/sdcard.img -avd avd_tablet
使用“^”无法正常工作:无效的命令行参数:and^
emulator -sdcard "C:/Documents and Settings/User/sdcard.img" -avd avd_tablet
双引号使用时出现问题:命令行参数无效:and
emulator -sdcard C:/Documents\ and\ Settings/User/sdcard.img -avd avd_tablet
当使用反斜杠转义符时出现问题:无效的命令行参数: and
emulator -sdcard C:/"Documents and Settings"/User/sdcard.img -avd avd_tablet
无法使用部分反斜杠转义: 无效的命令行参数: and
有任何建议吗?
C:\DOCUME~1\…
这样的东西可能会起作用。 - mirabilos/
而不是反斜线\
。 - Rikcmd
内置命令使用/
作为选项,有时会对斜杠路径感到困惑。 - Joey