|
用的是官方提供的方法,在repo init -u git://android.git.kernel.org/platform/manifest.git时出现如下的错误:
Traceback (most recent call last):
File "/home/rem1x/android/.repo/repo/main.py", line 34, in <module>
from manifest import Manifest
File "/home/rem1x/android/.repo/repo/manifest.py", line 21, in <module>
from project import Project, MetaProject, R_HEADS
File "/home/rem1x/android/.repo/repo/project.py", line 27, in <module>
from gerrit_upload import UploadBundle
File "/home/rem1x/android/.repo/repo/gerrit_upload.py", line 21, in <module>
from codereview.proto_client import HttpRpc, Proxy
File "/home/rem1x/android/.repo/repo/codereview/proto_client.py", line 31, in <module>
from need_retry_pb2 import RetryRequestLaterResponse;
File "/home/rem1x/android/.repo/repo/codereview/need_retry_pb2.py", line 9, in <module>
from froofle.protobuf import descriptor_pb2
File "/home/rem1x/android/.repo/repo/froofle/protobuf/descriptor_pb2.py", line 879, in <module>
class FileDescriptorSet(message.Message):
File "/home/rem1x/android/.repo/repo/froofle/protobuf/reflection.py", line 155, in __init__
superclass.__init__(cls, name, bases, dictionary)
TypeError: Error when calling the metaclass bases
type.__init__() takes 1 or 3 arguments
俺不懂python,不知道有人玩过android没?上述的错误导致无法repo sync。 |
|