layer (HAL) module to Android on Ubuntu to access the Linux kernel driver. Prepare the hardware abstraction layer module to ensure the Android system image file system. img already contains hello. default module.
2. Go to the frameworks/base/services/jni directory and create the com_android_server_HelloService.cpp
I. Prepare the PC work environment
First install some required Toolkit: (configure the following environment based on the installed ubuntu 64-bit and 32-bit systems)
Ubuntu Linux (32-bit x86 ):Sudo apt-get install git-core gnupgSun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-devBuild-essential zip curl libncurses5-dev zlib1g-dev
Ubuntu Linux (6
I. Prepare the PC work environment
First install some required Toolkit: (configure the following environment based on the installed Ubuntu 64-bit and 32-bit systems)
Ubuntu Linux (32-bit x86 ):Sudo apt-Get install Git-core GnuPG sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
Ubuntu Linux
-bit platforms are available). Alternatively, download and unzip the package using the following command:CD ~ wget http://dl.google.com/android/android-sdk_r11-linux_x86.tgz tar xvfz android-sdk_r11-linux_x86.tgzBy the above command, we can get the file directory android-sdk
Document directory
1. Install JDK
2. Install the compilation tool
3. Create a working directory
4. Install the repo version management tool (based on Git-based development to facilitate git Resource Management)
5. Prepare to download the android source code.
6. configure a repo account
7. Download the source code of Android platform.
8. Add a Public Key
9. Select a version
10. Update environment
official version is not recognized by the Chromium Android runtime environment created by Google or vglad Filippov. It is different from the official version in many aspects. The main difference is that it can be used on various desktop terminals of Google browsers. The following is the running environment installation package to be downloaded. select one of the following according to the number of installed Ubun
layer (HAL) module to Android on Ubuntu to access the Linux kernel driver. Prepare the hardware abstraction layer module to ensure the Android system image file system. img already contains hello. default module.
2. Go to the frameworks/base/services/jni directory and create the com_android_server_HelloService.cpp
://android.googlesource.com/platform/manifestIf you download the code of a specific Android mature version branch, add the-B parameter, for example, the latest android 4.4 branch code:Repo init-u https://android.googlesource.com/platform/manifest-B android-4.4.1_r1If the command is successfully executed, you must enter unsername and email, and enter your custom u
1. Prepare:Ordinary PC (requires Internet access), PC OS Ubuntu 10.04 LTS (64-bit), has downloaded good Android 1.6_r1 source code.2.Linux Dependent Package Installation:In order to download and install the package faster, first modify the update source for Ubuntu10.04, and modify the steps as follows:Run in Terminal:$ sudo gedit/etc/apt/sources.listwill open a text editor, modify the source server list, he
Android NDK + NEON configuration process and simple example in Ubuntu 32, androidndk
1. Use VMware to install Ubuntu13.10 32-bit Virtual Machine on 64-bit Windows 7;
2. Slave nodes;
3. Copy android-ndk32-r10-linux-x86.tar.bz2 to the/home/spring/NEON folder of Ubuntu and decompress the package;
4. Configure environment
modified, and run: LIBGL1-mesa-glx-lts-quantal:i386-libgl1-mesa-glx:i386 LIBGL1-mesa-dev-lts-quantal-libgl1-mesa-Dev3. The result can be normal operation, log in normal;4. When compiling Android, please check the reference article 6,7;5. For the present results, it is recommended that you do not use install-devel-packages.sh, please refer to the reference article 6;6. Compilation Error:1. Arm-eabi-gcc:error:/home/xxxxx/ti_android_jb_4.2.2_devkit_4.1.
1. Enter the Ubuntu system and set up the android development environment.
1. Update the software source before installing the new system. In this way, when we use some software, we can directly use the tab key to complete the name of the software package to be installed, and then install it.
Sudo apt-Get update
2. install some necessary software for Android De
Article reprinted to CSDN community Luo Shenyang's Android tour, original address: http://blog.csdn.net/luoshengyang/article/details/6571210In the previous article, we described how to write a Linux kernel driver for an Android system on Ubuntu. In this Linux kernel driver called Hello, create three different file node
Install the software on Ubuntu 9.10 desktop. Install JDK 1.5 and eclipse3.4. ADT and Android SDK
First install Java
, Enter the TDK command: sudoApt-Get install sun-java6-bin
Note: If you are running on an x86_64 system, you must also installIa32-libs
: Sudo apt-Get install ia32-libs.
During installation, you will be asked whether to accept the Java license.
Java 6 does not pass the javadoc error when compi
[Linux/Ubuntu 6] unbuntu download android source code, unbuntuandroid
Install Cygwin in Windows and use Cygwin to download the Android source code in Windows.Follow these steps to download the Google Android 4.4 source code in Ubuntu:1. Install curl and gitSudo apt-get insta
Article reprinted to CSDN community Luo Shenyang's Android tour, original address: http://blog.csdn.net/luoshengyang/article/details/6573809In the Android Hardware Abstraction Layer (HAL) Overview and Learning Plan article, we briefly describe the ways in which Android systems write drivers for hardware. In short, hardware drivers are distributed on the Linux ker
layer, and the runtime Library layer, all implemented through the C or C + + language. In this article, we will show you how to provide hardware services for the Java interface on the application frameworks layer of the Android system.I. Refer to the article on the Java Access Hardware service interface in Ubuntu for authoring the Jni method for the Android hard
In the context of the Ubuntu Android simple introduction to the Hardware Abstraction layer (HAL), we briefly describe the way in which the Android system writes drivers for the hardware. In simple terms, the hardware drivers are distributed in the Linux kernel and distributed in the hardware abstraction layer of the user space on the other hand. Then the Linux ke
---------------------------------------------environment variable Settings---------------------------------------------1. Setting the JDK environment variableCompiled Android source only support JDK 1.6, so if you need to compile the source must download JDK 1.6, cannot download the latest JDK 1.7, if you do not need to compile the source code, you can download the 1.7 version.1.6 Version Jdk:http://www.oracle.com/technetwork/java/javase/downloads/jav
kernelBuild Android directlySource code, and did not compile Linux kernel. If you run only the emulator, you do not have to compile Linux kernel.Get from EmulatorConfiguration file for kernel compilation parameters:Launch simulator$ adb pull/proc/config.gz.Uncompress config.gz $ gzip-d config.gzReplace the config file with the. config
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.