杂记

1:python客户端安装appium
pip install appium-python-client

2:   https://www.google.cn/chrome/ 谷歌浏览器中国官网

3:https://www.python.org/    python官网

4:https://macdown.uranusjr.com/  MacDonald编辑器官网

5:使用Ubuntu 16.04或更高版本,则可以从命令行安装PyCharm: sudo snap install [pycharm-professional | pycharm-community] --classic

6:一条命令解决Ubuntu18.04不能联网的问题:sudo apt-get install  net-tools

7:windows系统 地址:https://msdn.itellyou.cn/

8:windows如何在当前目录进cmd: 1,按住Shift键,鼠标右键快捷方式,先打开Powershell窗口。 2,输入 start cmd 回车 。3,ok!!!

9:Ubuntu 配置环境变量:https://jingyan.baidu.com/article/f71d6037d8ecc41ab641d1d5.html或者https://blog.csdn.net/yang332233/article/details/88561091

10:输入adb devices后显示 ????? no permissions   先输入命令 ./ adb kill-server 然后输入 ./adb start-server   查找adb所在的路劲  用命令 which adb 

11 mysql 8.0 修改初始空密码  进入MySQL后用命令    alter user 'root'@'localhost'IDENTIFIED BY '此处输入新密码';

12 python+weditor

13)pip install --pre uiautomator2  2)python -m uiautomator2 init,3)安装可视化UI查看器  pip install --pre -U weditor 4)打开CMD命令框,运行python -m weditor  ,该命令会在PC上打开浏览器,之后输入设备的ip或者序列号,点击Connect即可,映射测试机屏幕

14:ubuntu 配置环境变量

方法1:执行 gedit ~/.bashrc
export PATH=/home/valtest/Android/Sdk/platform-tools:$PATH
方法2:sudo gedit /etc/profile
export PATH=/home/valtest/Android/Sdk/platform-tools:$PATH
保存后:source /etc/profile

原文地址:https://www.cnblogs.com/zwb12345/p/11264464.html