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
错误。
官方和各位吧友有人能解决一下吗 ? 我提出两个问题都光看没反应官方是没人维护了吗 ? |