安装camera插件之后,编译出错,错误截图如下: 刚开始以为是AAPT编译导致的,尝试关闭AAPT编译选项,但是不行,认真看了一下编译出错信息,应该是缺少文件导致的,随后在对应的目录中加入了缺失的文件,再次编译就可以了! 缺失文件名:camera_provider_paths.xml 存放路径:工 ...
分类:
其他好文 时间:
2018-12-31 22:41:19
阅读次数:
234
You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need t ...
分类:
其他好文 时间:
2018-12-30 11:44:08
阅读次数:
164
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. Note: A leaf is a node with no children. Exampl ...
分类:
其他好文 时间:
2018-12-30 11:06:21
阅读次数:
160
mac安装完docker后,显示无效的命令。 在应用程序中找到docker安装的路径,将该路径写到/etc/paths里面 ...
分类:
系统相关 时间:
2018-12-22 14:57:44
阅读次数:
174
想要对文件进行读取,就需要一个File对象构造一个Scanner对象,如下所示: Scanner in = new Scanner(Paths.get("myfile.txt), "UTF-8"); 如果文件名中包含反斜杠符号,就要记住在每个反斜杠之前再加一个额外的反斜杠:"c:\\mydirect ...
分类:
其他好文 时间:
2018-12-15 17:15:55
阅读次数:
160
go读取ini文件并修改安装官方网站https://ini.unknwon.io/docs/intro/getting_startedgogetgopkg.in/ini.v1配置tmp\my.inimain.gomy.ini#possiblevalues:production,developmentapp_mode=development[paths]#Pathtowheregrafanacans
分类:
其他好文 时间:
2018-12-14 22:48:28
阅读次数:
342
Given a binary tree, return all root-to-leaf paths. Note: A leaf is a node with no children. Example: Approach #1: C++. [recursive] Approach #2: Java. ...
分类:
其他好文 时间:
2018-12-12 00:08:53
阅读次数:
122
今天来整理一下os库中方法的使用,如何输出一个目录下的所有文件? 1.首先介绍几个基本的的方法: 1)os.getcwd() #返回当前工作目录 2)os.listdir() #返回一个列表,包含当前工作目录下的文件和路径 3)os.path.join(path,*paths) 路径拼接 4)os. ...
分类:
编程语言 时间:
2018-12-11 17:15:29
阅读次数:
156
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. Note: A leaf is a node with no children. Exampl ...
分类:
其他好文 时间:
2018-12-09 21:28:59
阅读次数:
171
mac 一般使用bash作为默认shell Mac系统的环境变量,加载顺序为:/etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc当然/etc/profile和/etc/paths是系统级别的,系统启动就 ...
分类:
系统相关 时间:
2018-12-06 17:49:46
阅读次数:
165