You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我是在bash on windows上面运行的,前几步都没有报错,使用的是nougat-7.1分支,已经运行过config和newproject,之后执行flyme patchall时报错
I/precondition: Combine ./autopatch/bosp/framework.jar.out/smali_classes2 into framework.jar.out/smali
Traceback (most recent call last):
File "/mnt/e/flyme/tools/autopatch/autopatch.py", line 326, in
main(sys.argv)
File "/mnt/e/flyme/tools/autopatch/autopatch.py", line 321, in main
if options.prepare: precondition.Prepare()
File "/mnt/e/flyme/tools/autopatch/precondition.py", line 129, in init
if OPTIONS.patchXml == Config.PATCHALL_XML: self.patchall()
File "/mnt/e/flyme/tools/autopatch/precondition.py", line 145, in patchall
self.baseDevice.setLastHead()
File "/mnt/e/flyme/tools/autopatch/precondition.py", line 348, in setLastHead
BaseDevice.writeCommit(self.lastHeadPath, commit)
File "/mnt/e/flyme/tools/autopatch/precondition.py", line 514, in writeCommit
handle = open(filepath, "r")
IOError: [Errno 2] No such file or directory: '/mnt/e/flyme/devices/base/.git/oneplus5:LAST_HEAD'
/mnt/e/flyme/build/autopatch.mk:18: recipe for target 'patchall' failed
make: *** [patchall] Error 1
求解答
The text was updated successfully, but these errors were encountered:
我是在bash on windows上面运行的,前几步都没有报错,使用的是nougat-7.1分支,已经运行过config和newproject,之后执行flyme patchall时报错
I/precondition: Combine ./autopatch/bosp/framework.jar.out/smali_classes2 into framework.jar.out/smali
Traceback (most recent call last):
File "/mnt/e/flyme/tools/autopatch/autopatch.py", line 326, in
main(sys.argv)
File "/mnt/e/flyme/tools/autopatch/autopatch.py", line 321, in main
if options.prepare: precondition.Prepare()
File "/mnt/e/flyme/tools/autopatch/precondition.py", line 129, in init
if OPTIONS.patchXml == Config.PATCHALL_XML: self.patchall()
File "/mnt/e/flyme/tools/autopatch/precondition.py", line 145, in patchall
self.baseDevice.setLastHead()
File "/mnt/e/flyme/tools/autopatch/precondition.py", line 348, in setLastHead
BaseDevice.writeCommit(self.lastHeadPath, commit)
File "/mnt/e/flyme/tools/autopatch/precondition.py", line 514, in writeCommit
handle = open(filepath, "r")
IOError: [Errno 2] No such file or directory: '/mnt/e/flyme/devices/base/.git/oneplus5:LAST_HEAD'
/mnt/e/flyme/build/autopatch.mk:18: recipe for target 'patchall' failed
make: *** [patchall] Error 1
求解答
The text was updated successfully, but these errors were encountered: