Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Ubuntu16.04 complie Android6.0 problem solve , step

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792

Ubuntu16.04 complie Android6.0 problem solve , step

Posted at 3/21/2017 09:55:49      View5908 | Replies7        Print      Only Author   [Copy Link] 1#
Last edited by leungɭ In 3/21/2017 10:05 Editor

Firstly follow officail wiki to build ubuntu14.04 environment.
New 16.04 apt source cannot provide openjdk-7 add up a source

sudo add-apt-repository ppa: openjdk-r/ppa    ###behind colon no need space
sudo apt-get update
sudo apt-get install openjdk-7-jdk

After installed , check the version of jdk present
sudo update-alternatives --config java
sudo update-alternatives --config javac

-------------------------------------------------
Android complie
error occure
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:51: recipe for target 'out/host/linux-x86/obj32/lib/libart.so' failed
make: *** [out/host/linux-x86/obj32/lib/libart.so] Error 1


reasonubuntu16.04 clang problem

1.Off clanggedit file art/build/Android.common_build.mk ,find out WITHOUT_HOST_CLANG
diff
# Host.
ART_HOST_CLANG := false
ifneq ($(WITHOUT_HOST_CLANG),true)
# By default, host builds use clang for better warnings.
- ART_HOST_CLANG := true+ ART_HOST_CLANG := false
endif

2. rebuild env
sudo apt install git-core gnupg flex bison gperf build-essentialzip \
curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386lib32ncurses5-dev \
x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev \
libxml2-utils xsltproc unzip m4  && sudo apt-get update

No need to make clean, continue make again .


Reply

Use props Report

74

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
74
Posted at 1/10/2026 11:17:25        Only Author  2#
@ҵITИIУһЩJCCǿԎ㲽ġܶ๫˾šнеJCCĺEPIC COG170JCԇǂܸߵĿԇEPIC COG170 JCCܝMܶITИIƴ˵Fast2testԞṩEPIC COG170JCԇᘌӖھWMdFast2testṩPEPIC COG170 JCԇӖߵԇðͲ־}Lԇ
Reply

Use props Report

85

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
85
Posted at 1/13/2026 00:59:28        Only Author  3#
The analysis in the article is thorough, and Ive gained a lot from it. The Exam JN0-452 Simulations test questions are free for allyour key to a successful career!
Reply

Use props Report

96

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
96
Posted at 2/2/2026 04:00:44        Only Author  4#
Your article is a true gem, Im so grateful for your sharing! I got a promotion and raise through the New exam cram SAP-C02 sheet file. Now its free for everyone. Wishing you all career success and promotions!
Reply

Use props Report

98

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
98
Posted at 2/5/2026 12:09:07        Only Author  5#
Instant like, no questions asked. Valid braindumps HPE7-J02 pdf test questionsfree and essential for your career and salary advancement!
Reply

Use props Report

119

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
119
Posted at 2/10/2026 09:31:10        Only Author  6#
I cant overstate how much I learned from that article. Wishing you success! Here are the free Exam vce CIS-Discovery free test materials.
Reply

Use props Report

78

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
78
Posted at 2/23/2026 21:33:46        Only Author  7#
Thank you for your article, its definitely been a wake-up call for me. The C_THR82_2505 test vce free exam is almost here. Hope I ace it!
Reply

Use props Report

104

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
104
Posted at 3/7/2026 13:25:32        Only Author  8#
Instant like; this content is too good. Reliable Data-Engineer-Associate dumps gives you rich content for free, hoping it supports your learning journey.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list