问题: MAC终端使用aapt指令"aapt dump badging xxx/xxx/xxx.apk"查看apk包名和activity时报错提示"command not found",如下图: 解决: 该问题由于未配置aapt环境变量导致,在.bash_profile中配置AAPT_HOME和PATH即可解决. 前提:已安装配置Android SDK (1)打开配置文件(终端打开) 打开指令:open .bash_profile (2)配置环境变量 环境变量如下:…
VS2010中错误排查的一个小技巧,欢迎大家吐槽: 错误    9    应输入 #endregion 指令sses.cs    3778    2  xxx.xx   这个错很明显,是缺少#endregion ,问题是,如果代码比较长,不好找到错误的地方, 根据查找的经验,在VS2010中双击报错信息,找到报错的地方,然后向上找,最近的一个#region应该就是缺少#endregion 的那个.…
安装ROS时sudo rosdep init指令报错: ERROR: cannot download default sources list from: https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list Website may be down. 解决(以下方法依次执行,一直到搞定: (1)之前曾经安装过 ROS 系统的某个版本,按照提示删除已经存在的初始化文件…
报错提示: from appium import webdriver提示Unresolved import webdriver 报错原因:没有安装Appium_Python_Client 解决办法: 终端执行: 第一种:pip install Appium_Python_Client 第二种:git clone https://github.com/appium/python-client.git 本人使用第二种方式解决成功.…
Vue自定义指令报错 Failed to resolve directive: modle 这个报错有2个原因: 1.指令单词拼错 2.Vue.directive() 这个方法没有写在 new Vue 之前 解决办法: 1.检查指令拼写是否正确 2.Vue.directive() 这个方法写在new Vue之前 Vue.directive('test',{ bind(el,binding,vnode){ console.log(el); el.style.color = "red" }…
相信很多朋友在制作表单的时候,我们的编辑器会有下图的相关提示吧 我们发现虽然这样并不影响我们的正常使用,但是看着这样的报错提示总是很让人心烦,那么这到底是为什么呢? 其实,这是因为编辑器建议我们在使用<input>标签时,用相应的<label>标签对其进行标记.不想百度的同学可以继续往下看喽: <label>标签其实是为了方便鼠标用户选择的标签,,如图,当我们在选择男女时,通常会点击里面的圆圈,但是如果遇到这样的情况呢,想必点圆圈大家就会觉得很麻烦了吧?这时候就该<…
前提: mac中之前安装了mysql,一段时间没使用,今天使用mysql客户端去连接,报错提示密码过期,原因是mysql5.7之后版本有密码过期这个功能. error: Your password has expired. To log in you must change it using a client that supports expired passwords. 打开终端,启动mysql服务: sudo /usr/local/mysql/support-files/mysql.ser…
问题描述: Mac系统在打开Terminal的时候,报错-bash : : command not found. 问题分析: 报错并不影响Terminal的使用,于是忽略不计.但是在修改.bash_profile文件后,为了使配置生效,使用source命令,也是报错-bash : : command not found. 开始以为是source命令找不到,将/bin加入到环境变量中,还是报这个错误. 问题陷入困境. 在网上搜索,发现大部分问题都类似是 -bash:nginx: command n…
输入: git pull origin master git报错提示 fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.   在网上找到的解决办法:重新输入一次: git remote add…
1.Linux 中输入ifconfig命令报错:ifconfig command not found 有可能是没有安装ifconfig,如果没有,安装上去 2.查看是不是缺少了ifconfig,它是在/usr/sbin目录下的 root@localhost ~]# ll /usr/sbin 查看一下是否有 ifconfig 没有 ifconfig 的话安装 net-tools package [root@localhost sbin]# sudo yum install net-tools…