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
- The
- 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.
- 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