Problems encountered during Environment setup in ubuntu12.04

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.