After arriving at the new company, you need to build an android development environment under ubuntu12.04. Many problems will still be encountered in this process. Record them here for your reference in the future. From network!
1.
Q: Enter sudo apt-Get install build-essential in the terminal.
Tip: to change the media, insert the disc labeled "ubuntu 12.04.1 lts _ precise pangolin _-release amd64 (20120823.1)" into the drive "/CDROM/" and press Enter.
A: You can comment out the specified source as prompted.
Enter the command on the terminal: sudo gedit/etc/APT/sources. List
Note the following code:
# Deb CDROM: [Ubuntu 12.04.1 lts _ precise pangolin _-release amd64 (20120823.1)]/dists/precise/main/binary-i386/# Deb CDROM: [Ubuntu 12.04.1 lts _ precie pangolin _-release amd64 (20120823.1)]/dists/precise/restricted/binary-i386/# Deb CDROM: [Ubuntu 12.04.1 lts _ precise pangolin _-release amd64 (20120823.1)]/precise main restricted
2.
Problems encountered during Environment setup in ubuntu12.04