查看: 1474|回复: 0

Android 源码下载问题!

[复制链接]

3

主题

0

回帖

235

积分

中级会员

Rank: 3Rank: 3

积分
235
发表于 2024-5-21 15:06:06 | 显示全部楼层 |阅读模式
windows 系统下出现问题
1、MSYS2软件包管理器 中。通过git指令(git reset --hard)还原到上一次提交状态, 报一下错误
$ git reset --hard
error: invalid path 'frameworks/compile/slang/tests/P_str_escape/str\\escape.rscript'
error: unable to create symlink Android.bp: No such file or directory
error: unable to create symlink BUILD: No such file or directory
error: unable to create symlink WORKSPACE: No such file or directory
error: unable to create symlink art/test/1900-track-alloc/src/art/Main.java: No such file or directory
error: unable to create symlink art/test/1902-suspend/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1903-suspend-self/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1904-double-suspend/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1905-suspend-native/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1906-suspend-list-me-first/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1907-suspend-list-self-twice/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1908-suspend-native-resume-self/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1909-per-agent-tls/src/art/Main.java: No such file or directory
error: unable to create symlink art/test/1910-transform-with-default/src/art/Redefinition.java: No such file or directory
error: unable to create symlink art/test/1911-get-local-var-table/src/art/Breakpoint.java: No such file or directory
error: unable to create symlink art/test/1911-get-local-var-table/src/art/Locals.java: No such file or directory
error: unable to create symlink art/test/1911-get-local-var-table/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1912-get-set-local-primitive/src/art/Breakpoint.java: No such file or directory
error: unable to create symlink art/test/1912-get-set-local-primitive/src/art/Locals.java: No such file or directory
error: unable to create symlink art/test/1912-get-set-local-primitive/src/art/StackTrace.java: No such file or directory
error: unable to create symlink art/test/1912-get-set-local-primitive/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1913-get-set-local-objects/src/art/Breakpoint.java: No such file or directory
error: unable to create symlink art/test/1913-get-set-local-objects/src/art/Locals.java: No such file or directory
error: unable to create symlink art/test/1913-get-set-local-objects/src/art/StackTrace.java: No such file or directory
error: unable to create symlink art/test/1913-get-set-local-objects/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1914-get-local-instance/src/art/Breakpoint.java: No such file or directory
error: unable to create symlink art/test/1914-get-local-instance/src/art/Locals.java: No such file or directory
error: unable to create symlink art/test/1914-get-local-instance/src/art/StackTrace.java: No such file or directory
error: unable to create symlink art/test/1914-get-local-instance/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1915-get-set-local-current-thread/src/art/Breakpoint.java: No such file or directory
error: unable to create symlink art/test/1915-get-set-local-current-thread/src/art/Locals.java: No such file or directory
error: unable to create symlink art/test/1915-get-set-local-current-thread/src/art/StackTrace.java: No such file or directory
error: unable to create symlink art/test/1915-get-set-local-current-thread/src/art/Suspension.java: No such file or directory
error: unable to create symlink art/test/1916-get-set-current-frame/src/art/Breakpoint.java: No such file or directory
error: unable to create symlink art/test/1916-get-set-current-frame/src/art/Locals.java: No such file or directory
error: unable to create symlink art/test/1916-get-set-current-frame/src/art/StackTrace.java: No such file or directory
error: unable to create symlink art/test/1916-get-set-current-frame/src/art/Suspension.java: No such file or directory

2、windows 的cmd下安装了git执行同一样的指令
错误信息如图所示

两种方案都有错误。如果不管。后面执行 source build/envsetup.sh 指令会出现
-bash: build/envsetup.sh: No such file or directory
错误。

官方和各位吧友有人能解决一下吗 ? 我提出两个问题都光看没反应官方是没人维护了吗 ?
截屏2024-05-21 13.18.04.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|风火轮WIKI|手机版|小黑屋|深圳风火轮团队 ( 粤ICP备17095099号 )

GMT+8, 2024-12-26 22:20 , Processed in 0.067452 second(s), 22 queries .

快速回复 返回顶部 返回列表
 
【客服1】 商务合作 15289193
【客服2】 业务洽谈 13257599
【客服3】 售前咨询 510313198
【邮箱】
smartfire@smartfire.cn