下载android代码出现error: unable to create file tests/P_str_escape/str\\escape.rs
来源:互联网 发布:赛宝软件评测中心 编辑:程序博客网 时间:2024/05/17 08:56
error: unable to create file tests/P_str_escape/str\\escape.rs: No such file or directory
File "/home/linyang/aosp_L/.repo/repo/project.py", line 2486, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
解决方法:
sync时加trace参数
repo -h
--trace trace git command execution
repo --trace sync -j4 -cdf
出现
: export GIT_DIR=/home/linyang/aosp_L/.repo/projects/frameworks/compile/slang.git
: git rev-parse --verify refs/tags/android-5.0.2_r3^0 1>| 2>|
: cd /home/linyang/aosp_L/frameworks/compile/slang
: git read-tree --reset -u -v HEAD 1>| 2>|
error: unable to create file tests/P_str_escape/str\\escape.rs: No such file or directory
Traceback (most recent call last):
File "/home/linyang/aosp_L/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/linyang/aosp_L/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/linyang/aosp_L/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/linyang/aosp_L/.repo/repo/subcmds/sync.py", line 821, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/linyang/aosp_L/.repo/repo/project.py", line 1327, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync)
File "/home/linyang/aosp_L/.repo/repo/project.py", line 2486, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
<your_path>\frameworks\compile\slang\tests\P_str_escape
这一级目录已经存在了,只需要创建str
目录,并在str
目录中创建 escape.rs
文件(文件内容为空)。
参考 http://blog.csdn.net/u013553529/article/details/50616725
- 下载android代码出现error: unable to create file tests/P_str_escape/str\\escape.rs
- 出现error: unable to create file tests/P_str_escape/str\\escape.rs的解决办法
- InnoDB: Error: unable to create temporary file
- File upload error - unable to create a temporary file
- 968 InnoDB: Error: unable to create temporary file; errno: 2
- InnoDB: Error: unable to create temporary file; errno: 13
- loadrunner---执行LR报代码错误:Unable to create file
- PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
- unable to create/open lock file
- Mysql启动错误:“InnoDB: Error: unable to create temporary file”的解决方法
- Nova ERROR : libvirtError: Unable to create cgroup for instance: No such file or directory
- Android Error: Unable to open class file R.java
- Android Error: Unable to open class file R.java
- 转载 Android Error: Unable to open class file R.java
- Android Error: Unable to open class file R.java
- Android Error: Unable to open class file R.java
- LINUX SQL链接出现ORA-09925: Unable to create audit trail file
- windows编译ffmpeg出现gcc is unable to create an executable file 的一般情况
- Android studio 更换app launcher图标后还是显示之前的小人图标
- Spring深度学习之架构浅析(一)
- 计算两个复数之积
- Deep Learning(二)
- 做一个自己的spreadsheet(电子数据表)①继承QTableWidget写自己的表格
- 下载android代码出现error: unable to create file tests/P_str_escape/str\\escape.rs
- 设计模式不能做什么
- android自定义尺子收集demo
- js如何获取外部css属性
- 设计模式之抽象工厂
- caffe 学习笔记之convert_imageset
- 数据存储--------详解持久化技术
- 设计模式对程序员的必要性
- centos7 开机/etc/rc.local 不执行的问题及部分命令执行不成功