环境:intellij idea15 问题:运行Android时报错Throwable:Unable to locate adb within SDK 解决方法:在SDK安装目录的\platform-tools下放入adb.exe 原因:我的adb是单独安装的,是装在SDK安装目录的tools下的.我猜测Android运行时是在SDK的platform-tools下去找adb命令的.所以我只是复制了tools下的adb.exe到platform-tools下…
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! my-app@0.1.0 start: `react-scripts start` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the my-app@0.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additiona…
UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may us…
背景: 今天导入一个数据量很大的.sql文件时,报错: 原因: 可能是sql语句过长,超过mysql通信缓存区最大长度. 解决:1. 编辑 MySQL 安装目录下的 my.ini,在最后添加以下内容: max_allowed_packet=16M 2. 重启 MySQL 服务 参考资料: [1] MySQL 数据批量恢复时 [Err] 2006 - MySQL server has gone away 错误的解决 [2] #2006-MySQLserverhasgoneaway…