Long Luo Created @2016-03-11 22:45:13 ~ 2016-03-12 01:49:08 at Shenzhen Version 0.1Long Luo Version 0.2 @2016-04-19 01:25:16Modified By Long Luo version 1.0 at 2018年9月27日22点38分 at Hangzhou.
Error:Execution failed for task ':samples-simplevideowidget:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\Android\SDK\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1
org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED org.gradle.process.internal.DefaultExecHandle] Process 'command 'E:\Android\SDK\build-tools\23.0.1\aapt.exe'' finished with exit value 1 (state: FAILED) org.gradle.api.Project] Unknown source file : ERROR: In <declare-styleable> ListItemLinearLayout, unable to find attribute singleLine
从上述Log信息,我们可知出错点是ERROR: In <declare-styleable> ListItemLinearLayout, unable to find attribute singleLine,那么肯定是attrs文件的ListItemLinearLayoutstyleable出错了。
Commands:
clean Removed generated files and cache.
config Get or set configurations.
deploy Deploy your website.
generate Generate static files.
help Get help on a command. 查看帮助信息
init Create a new Hexo folder. init [文件夹名]: 创建一个hexo项目,不指定文件夹名,则在当前目录创建
list List the information of the site
migrate Migrate your site from other system to Hexo.
new Create a new post.
publish Moves a draft post from _drafts to _posts folder.
render Render files with renderer plugins.
server Start the server.
version Display version information. 查看hexo的版本
Global Options:
--config Specify config file instead of using _config.yml config-path:指定配置文件,代替默认的_config.yml
--cwd Specify the CWD cwd-path:自定义当前工作目录
--debug Display all verbose messages in the terminal 调试模式,输出所有日志信息
--draft Display draft posts
--safe Disable all plugins and scripts 安全模式,禁用所有的插件和脚本
--silent Hide output on console 无日志输出模式
Hexo常用命令也可以使用以下缩写:
1 2 3 4
hexo n == hexo new hexo g == hexo generate hexo s == hexo server hexo d == hexo deploy
清除生成内容
1
$ hexo clean
执行此操作会删除 public 文件夹中的内容。 以上就是经常使用的命令。
一键三连:
1 2
hexo clean && hexo g -d hexo clean && hexo g && hexo s --debug