Build android on 64-bit centos

Source: Internet
Author: User

 

Set up the android environment on Linux and share it with you because of many problems. Using Java for development, we all know that JDK is the first choice, followed by an eclispe, followed by a third-party SDK + plugin. JDK installation is not required. decompress the package on Linux and configure java_home and classpath. In fact, this is the same as that on windows. In windows, these two configurations are in the environment variables, in Linux, many of the files configured in the profile file are similar to those in Linux. They are just interface, command, or file. For eclispe, we recommend that you install the J2EE package. I am missing the WST package because it is not installed. Because I have a 64-bit package, I need to install a 32-bit package: # Yum install glibc. i686 # Yum install glibc-devel.i686 # Yum install libstdc ++. i686 # Yum install zlib-devel.i686 # Yum install ncurses-devel.i686 # Yum install libX11-devel.i686When running SDL init failure, reason is: no available video device, you need to install

Yum install libxrandroid. i686 libx11.i686

If some errors cannot be found in the software package during simulation, you can install the following Software Package

Glibc. i686 ncurses-libs.i686 compat-libstdc ++-33. i686 libstdc ++. i686 libzip. i686

 

Related Article

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.