You are not logged in.
Pages: 1
Hi i'm new archlinux user.
I'm trying to download android AOSP (nougat) following this tutorial https://wiki.archlinux.org/index.php/android .
After creating python2.7 virtual env, activating it with "source venv/bin/activate" and installed repo with pacman; i ran command to initialize repo:
repo init -u https://android.googlesource.com/platform/manifest -b android-7.1.0_r7
But i get this error:
Traceback (most recent call last):
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/subcmds/init.py", line 399, in Execute
self._SyncManifest(opt)
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/subcmds/init.py", line 157, in _SyncManifest
print('Get %s' % GitConfig.ForUser().UrlInsteadOf(opt.manifest_url),
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/git_config.py", line 220, in UrlInsteadOf
for new_url in self.GetSubSections('url'):
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/git_config.py", line 207, in GetSubSections
return self._sections.get(section, set())
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/git_config.py", line 231, in _sections
for name in self._cache.keys():
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/git_config.py", line 248, in _cache
self._cache_dict = self._Read()
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/git_config.py", line 254, in _Read
d = self._ReadGit()
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/.repo/repo/git_config.py", line 299, in _ReadGit
for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401
File "/home/s1ckb017/Desktop/android_stuff/android-7.1.0_r7/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc5 in position 46: invalid continuation byte
I looked for the error but did not find anything.
Can someone help me?
Offline
Try input "export LANG=en_US.UTF-8" at the beginning.
Offline
Pages: 1