Android Learning Note-development environment configuration problem record

Source: Internet
Author: User

Ubuntu 12.04 on the configuration of the development environment is not here to repeat, go directly to Google's developer website to see the line. Here, we mainly document the problems and solutions that individuals encounter when they are configured in the environment.

Official documents: http://source.android.com/source/initializing.html

  1. The
  2. manual installing required packages (Ubuntu 12.04) in one of the installation packages   LIBGL1-MESA-GLX : I386 will prompt for dependency error:
     

    The workaround is to install the recommended dependency package  libgl1-mesa-dri:i386 It is best not to install the first one, so this step uses the following command instead of the official website:

    $ sudo apt-get install git gnupg Flex Bison gperf build-essential Zip Curl Li   Bc6-dev libncurses5-dev:i386 X11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dir:i386 Libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 

    The installation process will prompt to unload some packages, mainly related to xserver-xorg, which will cause the following more difficult problem.

     
  3. Android development environment After the end of the configuration to restart the computer black screen or login screen repeatedly into the dead loop
    If the first problem occurs when using libglapi-mesa:i386 instead of libgl1-mesa-glx:i386 most likely to appear completely black screen, the solution: Press CTRL+ALT+F1 to enter the command line, in the presence of the entry into the world of Ubuntu The picture is going to hurry

Android Learning Note-development environment configuration problem record

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.