Centos7 compiling android4.4

Source: Internet
Author: User

1. Install JDK, for example: jdk1.6.0_45, unzip Jdk1.6.0_45.bin to/root/bin/jdk1.6.0_45 (note: Root user's home is/root)

Java_home=/root/bin/jdk1.6.0_45
Export Jre_home= $JAVA _home/jre
Export classpath=.: $JAVA _home/lib: $JRE _home/lib: $CLASSPATH
Export path= $JAVA _home/bin: $JRE _home/bin: $PATH

2. Install dependent libraries:

sudo yum install gcc gcc-c++ gperf Flex Bison glibc-devel zlib-devel ncurses-devel libsx-devel readline-devel perl-switch

sudo yum install ncurses-devel readline-devel zlib-devel libx11-devel xorg-x11-proto-devel libuuid-devel uuid Uuid-devel Libsx-devel

3. Install the missing module as appropriate, as follows:

Ld-linux.so.2
Yum Whatprovides ld-linux.so.2

Libz.so.1
Yum Whatprovides libz.so.1

Libstdc++.so.6

Yum Whatprovides libstdc++.so.6

Centos7 compiling android4.4

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.