Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flyme patchall报错 #32

Open
aa889788 opened this issue Dec 13, 2017 · 0 comments
Open

flyme patchall报错 #32

aa889788 opened this issue Dec 13, 2017 · 0 comments

Comments

@aa889788
Copy link

我是在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
求解答

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant