最近想学下UiAutomator 自动化测试,按照百度上的文档捣鼓下,发始终创建xml文件失败,
找不原因,求大神指点。
错误详情:
G:\android-sdk_r24.4.1-windows\android-sdk-windows\tools>android create uitest-p
roject -n AutoRunner -t 2 -p G:\eclipse workspace\AutoRunner
Error: Argument 'workspace\AutoRunner' is not recognized.
Usage:
android [global options] create uitest-project [action options]
Global options:
-h --help : Help on a specific command.
-v --verbose : Verbose mode, shows errors, warnings and all messages.
--clear-cache: Clear the SDK Manager repository manifest cache.
-s --silent : Silent mode, shows errors only.
Action "create uitest-project":
Creates a new UI test project.
Options:
-p --path : The new project's directory. [required]
-n --name : Project name.
-t --target : Target ID of the new project. [required]