摘要: 1、联想Lenovo扬天T4900C-00安转虚拟机提示: 按F12进入bios模式,修改Intel VT-x为启用,BIOS中依次选择:Advanced(高级)——CPU Configuration——Secure Virtual Machine,设置为:Enabled(启用)就行了 2、安装软件 阅读全文
posted @ 2017-04-25 16:33 避雨亭 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 进入虚拟机设置页面 阅读全文
posted @ 2017-04-25 16:31 避雨亭 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 1、启动已经新增好的设备时,提示:the virtual device got no ip address,于是在网上搜索该问题,便得到提示,先启动virtual box中的该模拟设备,于是便启动,出现了另外一个问题; 2、提示:This kernel requires an X86-64 CPU, 阅读全文
posted @ 2017-04-25 16:28 避雨亭 阅读(4634) 评论(0) 推荐(0) 编辑
摘要: 1、运行SDK Manager,选择模拟器,并运行模拟器 2、将需要安装的apk文件复制到platform-tools目录下(默认在:C:\Program Files\Android\android-sdk-windows\platform-tools )。为安装方便,这里将其命名为game.apk 阅读全文
posted @ 2017-02-16 15:33 避雨亭 阅读(1375) 评论(0) 推荐(0) 编辑
摘要: 输入第一行代码:import logging;logging.basicConfig(level==logging.INFO) 提示:this inspection detects names that should resolved but don't. Due to dynamic dispat 阅读全文
posted @ 2017-01-08 19:52 避雨亭 阅读(12421) 评论(0) 推荐(0) 编辑
摘要: 安装pip之后,在dos命令框中输入pip,提示:unknown or unsupported command install,搜索之后,立马在:http://stackoverflow.com/questions/7469361/pip-on-windows-giving-the-error-un 阅读全文
posted @ 2017-01-08 19:07 避雨亭 阅读(15091) 评论(3) 推荐(1) 编辑
摘要: 在编程学习网站学习Python语言,学习到cgi编程章节遇到了一些小问题,课程介绍的为linux环境的Apache配置方法,具体如下: 【linux环境配置方法:】 在进行CGI编程前,确保您的Web服务器支持CGI及已经配置了CGI的处理程序。 Apache 支持CGI 配置: 设置好CGI目录: 阅读全文
posted @ 2016-10-21 22:33 避雨亭 阅读(10620) 评论(0) 推荐(0) 编辑
摘要: Python文件使用“wb”方式打开,写入字符串会报错,因为这种打开方式为:以二进制格式打开一个文件只用于写入。如果该文件已存在则将其覆盖。如果该文件不存在,创建新文件。 所以写入的字符类型需为二进制格式,如:f.write("hello".encode('ascii')) 写入的编码范围不为128 阅读全文
posted @ 2016-10-13 11:16 避雨亭 阅读(25253) 评论(0) 推荐(0) 编辑
摘要: Appium 服务关键字 Android特有 iOS特有 来源:https://github.com/appium/appium/blob/master/docs/cn/writing-running-appium/caps.cn.md 阅读全文
posted @ 2016-07-27 14:25 避雨亭 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 录制屏幕操作Android4.4版本以上支持录制屏幕 adb shell screenrecord /sdcard/demo.mp4 ADB logcat 输出时间信息: adb logcat -v time 同样也可以组合使用: adb logcat -v time -s PowerManager 阅读全文
posted @ 2016-07-27 12:02 避雨亭 阅读(214) 评论(0) 推荐(0) 编辑