bee*_*der 7 android python-2.7 ubuntu-12.04
我想运行命令:
repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r6
得到以下输出:
Traceback (most recent call last):
File "/home/anu/bin/repo", line 91, in <module>
import readline
ImportError: No module named readline
因此,要解决上述,我尝试使用readline的命令来安装pip install readline
和easy_install readline
,但无论是命令输出如下:
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Run Code Online (Sandbox Code Playgroud)
我有ubuntu 12.04与python 2.7.3并且想要构建android源代码.
我搜索了很多东西来修复它但没有成功......有人能指出我缺少的东西吗?
归档时间: |
|
查看次数: |
6097 次 |
最近记录: |