这个可能不属于freeline。
运行 python freeline.py 还是sudo python freeline.py
都会出现如下错误
File "/home/xx/AndroidStudioProjects/DownLoadManager/freeline/freeline_core/task.py", line 123, in execute
self.task.execute()
File "/home/xx/AndroidStudioProjects/DownLoadManager/freeline/freeline_core/gradle_clean_build.py", line 69, in execute
output, err, code = cexec(command.split(' '), callback=None)
File "/home/xx/AndroidStudioProjects/DownLoadManager/freeline/freeline_core/utils.py", line 28, in cexec
p = Popen(args, stdin=PIPE, stdout=PIPE, stderr=PIPE, env=env, cwd=cwd)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied