0
目前我正在試圖建立LineageOS我的設備,但得到以下錯誤:大廈的Android LineageOS:OSERROR:[錯誤2]沒有這樣的文件或目錄
++++ userdata ++++
creating userdata.img...
BuildImage: in_dir = /tmp/tmpOddZM9/data, out_file = /tmp/tmp6rRjlb
fs type is not ext4
Running: mkf2fsuserimg.sh /tmp/tmp6rRjlb 27074214912
Traceback (most recent call last):
File "./build/tools/releasetools/add_img_to_target_files", line 554, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/add_img_to_target_files", line 548, in main
AddImagesToTargetFiles(args[0])
File "./build/tools/releasetools/add_img_to_target_files", line 472, in AddImagesToTargetFiles
AddUserdata(output_zip)
File "./build/tools/releasetools/add_img_to_target_files", line 288, in AddUserdata
succ = build_image.BuildImage(user_dir, image_props, img.name)
File "/home/main/android/system/build/tools/releasetools/build_image.py", line 487, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "/home/main/android/system/build/tools/releasetools/build_image.py", line 48, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/main/android/system'
道歉,如果答案是比它更明顯出現,但我對此很陌生。