LLeaves
git工具版本太低导致无法稀疏clone 也就是没办法--sparse
解决方案:升级git到高版本,不使用稀疏clone将会导致一辈子都拉不下dart SDK源码
add-apt-reposi ...
C:\Users\Administrator\Desktop\flutter\blutter>python blutter.py C:\Users\Administrator\Desktop\1111\lib\arm64-v8a C:\Users\Administrator\Desktop\1111\out_dic
Dart version: 2.10.5, Snapshot: 8ee4ef7a67df9845fba331734198a953, Target: android arm64
flags: product no-dwarf_stack_traces_mode no-causal_async_stacks lazy_async_stacks no-lazy_dispatchers use_bare_instructions dedup_instructions no-"asserts" arm64-sysv no-null-safety
Dart version <2.15, force "no-analysis" option
Cloning into 'C:\Users\Administrator\Desktop\flutter\blutter\dartsdk\v2.10.5'...
remote: Enumerating objects: 1848, done.
remote: Counting objects: 100% (1848/1848), done.
remote: Compressing objects: 100% (1427/1427), done.
remote: Total 1848 (delta 123), reused 1229 (delta 97), pack-reused 0
Receiving objects: 100% (1848/1848), 978.08 KiB | 1.37 MiB/s, done.
Resolving deltas: 100% (123/123), done.
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 22 (delta 0), reused 10 (delta 0), pack-reused 0
Receiving objects: 100% (22/22), 89.97 KiB | 42.00 KiB/s, done.
Updating files: 100% (22/22), done.
remote: Enumerating objects: 2432, done.
remote: Counting objects: 100% (2432/2432), done.
remote: Compressing objects: 100% (1909/1909), done.
remote: Total 2432 (delta 536), reused 1618 (delta 490), pack-reused 0
Receiving objects: 100% (2432/2432), 7.62 MiB | 4.15 MiB/s, done.
Resolving deltas: 100% (536/536), done.
Updating files: 100% (2600/2600), done.
Traceback (most recent call last):
File "blutter.py", line 168, in <module>
main(args.indir, args.outdir, args.rebuild, args.vs_sln, args.no_analysis)
File "blutter.py", line 130, in main
fetch_and_build(dart_version, arch, os_name, has_compressed_ptrs, snapshot_hash)
File "C:\Users\Administrator\Desktop\flutter\blutter\dartvm_fetch_build.py", line 120, in fetch_and_build
cmake_dart(ver, arch, os_name, has_compressed_ptrs, outdir)
File "C:\Users\Administrator\Desktop\flutter\blutter\dartvm_fetch_build.py", line 110, in cmake_dart
subprocess.run([CMAKE_CMD, '-GNinja', '-B', builddir, f'-DTARGET_OS={os_name}', f'-DTARGET_ARCH={arch}',
File "D:\PythonEnv\Python3.8.5\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\PythonEnv\Python3.8.5\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\PythonEnv\Python3.8.5\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
大佬,我开始按照你给的思路重新弄了下 开始可以运行出一部分,有输出但是报错,再次运行又不行了
C:\Users\Administrator\Desktop\flutter\blutter>python blutter.py C:\Users\Administrator\Desktop\1111\lib\arm64-v8a C:\Users\Administrator\Desktop\1111\out_dic
Dart version: 2.10.5, Snapshot: 8ee4ef7a67df9845fba331734198a953, Target: android arm64
flags: product no-dwarf_stack_traces_mode no-causal_async_stacks lazy_async_stacks no-lazy_dispatchers use_bare_instructions dedup_instructions no-"asserts" arm64-sysv no-null-safety
Dart version <2.15, force "no-analysis" option
Traceback (most recent call last):
File "blutter.py", line 168, in <module>
main(args.indir, args.outdir, args.rebuild, args.vs_sln, args.no_analysis)
File "blutter.py", line 130, in main
fetch_and_build(dart_version, arch, os_name, has_compressed_ptrs, snapshot_hash)
File "C:\Users\Administrator\Desktop\flutter\blutter\dartvm_fetch_build.py", line 120, in fetch_and_build
cmake_dart(ver, arch, os_name, has_compressed_ptrs, outdir)
File "C:\Users\Administrator\Desktop\flutter\blutter\dartvm_fetch_build.py", line 110, in cmake_dart
subprocess.run([CMAKE_CMD, '-GNinja', '-B', builddir, f'-DTARGET_OS={os_name}', f'-DTARGET_ARCH={arch}',
File "D:\PythonEnv\Python3.8.5\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\PythonEnv\Python3.8.5\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\PythonEnv\Python3.8.5\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件
这是什么原因呢