Build error while building android source code on ubuntu 12.04 -


i building android source code on ubuntu 12.04, update latest version of ubuntu , android (repo sync). after tried build android source code(clean build).i got following build error

> host sharedlib: libopenglrender > (out/host/linux-x86/obj/lib/libopenglrender.so) host prebuilt: > eventanalyzer > (out/host/linux-x86/obj/executables/eventanalyzer_intermediates/eventanalyzer) > install: out/host/linux-x86/bin/exc_dump install: > out/host/linux-x86/bin/fastboot install: > out/host/linux-x86/bin/fs_config install: > out/host/linux-x86/bin/fs_get_stats install: > out/host/linux-x86/bin/genext2fs install: > out/host/linux-x86/bin/gpttool host prebuilt: hierarchyviewer > (out/host/linux-x86/obj/executables/hierarchyviewer_intermediates/hierarchyviewer) > /usr/bin/ld: cannot find -lx11 collect2: ld returned 1 exit status > make: *** [out/host/linux-x86/obj/lib/libopenglrender.so] error 1 > make: *** waiting unfinished jobs.... 

i did find solution on internet..

if installed ubuntu 12.04 64bit compile android 2.3.5(gingerbread), run below command.
geunsik@u1204$> apt-get install lib32z1-dev


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -