This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ubuntu下编译android问题



按照《DeveloperGuide》中提供的方法编译android。首先,在

  $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
  $ sudo add-apt-repository "deb-src http://archive.canonical.com/ubuntu lucid partner"

第二句的时候报错
Error: "sudo add-apt-repository "deb-src http://archive.canonical.com/ubuntu lucid partner"invalid

还有:在执行
 $ cd TI_Android_GingerBread_2_3_4_AM335x_Sources
  $ ./.repo/repo/repo sync --local-only
时候报错:

raise GitError(%s:%s %(command[1],e))

error.GitError:config:[Errno 2]No such file or directory