Linux
The Android build is routinely tested on recent versions of Ubuntu (6.06 and later), but reports of successes or failures on other distributions are welcome.
Ubuntu Linux (32-bit x86)
To set up your Linux development environment, make sure you have the following:
- Required Packages:
- Git 1.5.4 or newerand the GNU Privacy Guard.
-
- JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override.
-
- flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl.
$ sudo apt-get installgit-core gnupgsun-java5-jdkflex bison gperflibsdl-dev libesd0-devlibwxgtk2.6-dev build-essential zipcurl libncurses5-dev zlib1g-dev
- You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc.
$ sudo apt-get install valgrind
-
Intrepid (8.10) users may need a newer version of libreadline:
$ sudo apt-get install lib32readline5-dev
The Android build requires a 32-bit build environment as well as some other tools:
- Required Packages:
- Git, JDK, flex, and the other packages as listed above in the i386 instructions:
- JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override.
- Pieces from the 32-bit cross-building environment
- X11 development
$sudo apt-get install git-core gnupg flex bison gperf build-essential zip curlsun-java5-jdkzlib1g-devgcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev
- Set the system to use the right version of java by default:
$ sudo update-java-alternatives -s java-1.5.0-sun
- X11: Ubuntu doesn't have packages for the X11 libraries, but that can be worked around with the following command:
$ sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so
分享到:
相关推荐
Ubuntu16.04编译Android源码7.0和4.4及踩坑 一.虚拟机环境配置 1.1Ubuntu怎样修改软件源地址 1.2共享文件夹 1.3虚拟机配置 二.操作指南 2.1将源文件拷贝到linux环境下后解压并编译 2.2相关工具安装 3.3推荐...
在Ubuntu上下载、编译和安装Android最新内核源代码
bpi_a64_android的编译配置文件排版.txt 2017/3/9 14:33 0、压缩包的处理: rootroot@cm-System-Product-Name:/home/wwt/a64$ tar zxvf BPI-A64-Android_SourceCode.tar.gz 增加3个编译链 Notice: Please ...
视频名称 源码 ----------------------...复杂UI界面设计、GPS与GoogleMap、自定义View、Ubuntu Linux下使用C语言面向底层开发、通过JNI进行底层组件调用、图形与OpenGl ES、界面特效、下载修改及编绎Android框架代码。
Android is “the open source revolution” applied to cellular telephony and mobile computing. At least, part of the revolution. There have been many other attempts to provide open source cell phones, ...
https://sites.google.com/a/android.com/opensource/release-features Android Android Android Android 盈利模式 Android 的 App Market 模式,软件开发者获得 7 成收入, 3 成用于系统维护。难点在于位置营销。 ...
Ubuntu安装Source Insight导入Android源码并设置仿IDEA主题Darcula-附件资源
windows系统下VMware Workstation 15 Pro虚拟机装的Ubuntu1804 64位 Android版本 Android-10.0.0_r26 代码下载 参考android网站 https://source.android.google.cn/setup/build/downloading?hl=zh-cn ...
Ubuntu如何在Android 6.0及以上嵌入MuPDF,该方法可以支持的版本为mupdf-1.9-source;mupdf-1.10-source;亲测有效。 详细操作指南,看了就会
This build guide is only tested on Ubuntu. Changes to make it build on other platforms are welcome. Build Steps Download and unarchive Samba 4.5.1 source code. Change directory to the root of Samba
对源码开发感兴趣的可以参照 http://source.android.com。对于 ROM 开发者来说,我们建议 下载一份 google 发布的 android 源码,这不是必须的,但是对于理解排查 ROM 适配中的一 些错误有很大的帮助。 1.操作系统 定制...
安装yasm , nasm , ant , python , intltoolize , cmake和vim-common 。 在64位linux系统上,您需要ia32-libs软件包。 使用最新的Debian(multiarch),您需要: dpkg --add-architecture i386 aptitude ...
Linux - Ubuntu 16.04 LTS; WebGL - Firefox, Chrome. + Supported possibility to use external VLC libraries; + Supported possibility to easy switch subtitles (SPU) and audio tracks; + Supported Unity...
XDA人员:这是我有史以来的第一个大型项目。 请友好一点。 ANDROIDER是Ubuntu的衍生... (到目前为止一直在使用描述...)用户androider www.ubuntu-mini-remix.org source.android.com github.com/fluxer/Customizer
Delphi – DCUs and optionally source code for development using all versions of Delphi including 4, 5, 6, 7, 2005, 2006, 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, and 10.2 . 32-bit and ...
HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty HOST_BUILD_TYPE=release BUILD_ID=57513AA3 OUT_DIR= ============================================ rootroot@cm-System-Product...
著名的PDF编程插件16.13版本,带sn,支持Delphi ... Quick PDF Library for Linux Linux – 64-bit operating system Ubuntu – version 16 and later CentOS – version 6 and later Debian – version 8 and later
本文收集了编译android内核源码大部分error,亲自试过,都能找到相对应的解决方法
获取:25 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main libxml-libxml-perl amd64 2.0108+dfsg-1ubuntu0.1 [337 kB] 获取:26 ...