Monkey批处理“系统找不到指定的路径。”
2016-10-13 18:23
295 查看
要求:
1.Monkey单模块测试;
2.Monkey日志保存到手机根目录;
3.批处理上述要求。
错误写法:
adb shell
monkey -p com.android.calendar -p com.android.soundrecorder --throttle 500 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --ignore-native-crashes --monitor-native-crashes -v -v -v 180000 > /storage/sdcard0/test.txt
pause
标红处为Monkey单模块测试命令,是一个整体,而cmd编译器为顺序编译,到蓝色部分就会一个字符一个字符编译,故而出现”系统找不到指定路径“
正确写法:
adb shell
”monkey -p com.android.calendar -p com.android.soundrecorder --throttle 500 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --ignore-native-crashes --monitor-native-crashes -v -v -v
180000 > /storage/sdcard0/test.txt“
将划线部分用双引号括起来,编译时,此命令将是一个整体,相当于:
C:\Users\XA-XA-00553>adb shell
shell@ACE:/ $ monkey -p com.android.calendar -p com.android.soundrecorder --throttle 500 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --ignore-native-crashes --monitor-native-crashes
-v -v -v 180000 > /storage/sdcard0/test.txt
1.Monkey单模块测试;
2.Monkey日志保存到手机根目录;
3.批处理上述要求。
错误写法:
adb shell
monkey -p com.android.calendar -p com.android.soundrecorder --throttle 500 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --ignore-native-crashes --monitor-native-crashes -v -v -v 180000 > /storage/sdcard0/test.txt
pause
标红处为Monkey单模块测试命令,是一个整体,而cmd编译器为顺序编译,到蓝色部分就会一个字符一个字符编译,故而出现”系统找不到指定路径“
正确写法:
adb shell
”monkey -p com.android.calendar -p com.android.soundrecorder --throttle 500 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --ignore-native-crashes --monitor-native-crashes -v -v -v
180000 > /storage/sdcard0/test.txt“
将划线部分用双引号括起来,编译时,此命令将是一个整体,相当于:
C:\Users\XA-XA-00553>adb shell
shell@ACE:/ $ monkey -p com.android.calendar -p com.android.soundrecorder --throttle 500 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --ignore-native-crashes --monitor-native-crashes
-v -v -v 180000 > /storage/sdcard0/test.txt
相关文章推荐
- fatal error C1093 系统找不到指定的路径 C++/C VS2005
- Log4J配置后, log4j:ERROR setFile(null,true) call failed. 报错:java.io.FileNotFoundException: /log/mytest2.log (系统找不到指定的路径。)
- 关于OracleOraDb10g_home1TNSListener 错误3: 系统找不到指定的路径
- 系统找不到指定路径
- iis 系统找不到指定的路径
- 本地计算机上无法启动OracleOraDb10g_Home1TNSListener服务 错误3: 系统找不到指定的路径
- fatal error C1093 系统找不到指定的路径 C++/C VS2008
- oracle的listener无法启动"错误3,系统找不到指定路径"
- 【原创】MTK平台"pre-compile mmi_include.h 系统找不到指定的路径"Error解决
- 验证配置设置时发生错误,已引发类型为System.Runtime.InteropServices.COMException的异常。其他异常信息:系统找不到指定的路径
- “LIB 环境变量”中指定的搜索路径 *** 无效 --“系统找不到指定的路径。”
- IIS中 系统找不到指定的路径解决办法
- IIS启动失败"系统找不到指定的路径"
- 解决:“LIB 环境变量”中指定的搜索路径 *** 无效 --“系统找不到指定的路径。”
- LIB环境变量中指定的搜索路径:“C:/Program Files/Microsoft Visual Studio/VC98/mfc/lib 系统找不到找定的路径的解决方法
- fatal error C1093 系统找不到指定的路径 C++/C VS2005
- PB编译出现:系统找不到指定的路径。
- ORA-12541:TNS:没有监听器 错误3:系统找不到指定路径解决方案
- “LIB 环境变量”中指定的搜索路径“D:\Program Files\Microsoft Visual Studio\VC98\lib”无效 --“系统找不到指定的路径
- Cannot create xxxxxx Total path and file name length must not exceed 260 characters 系统找不到指定的路径。