This scenario takes the Rhel/centos 64-bit Linux operating system as an example, as this is the most common server environment today.First, install the Java SDK.It is recommended that you do not use things like Yum to install automatically, because the OPENJDK and the like will eventually be a variety of non-moth to run up. Old and honest go to Oracle website download at least JAVA7 64-bit final version, ma
system on Ubuntu. Use the android simulator to load the kernel file containing the Linux driver, and run the ADB shell command to simulate the connection to verify that the device file Hello exists in the/dev directory.
2. Go to the external directory of the android source code project and create the hello directory:
the system with the packages needed to run the 32-bit program, this download is fast. Unlike the SDK, ADT or something without a domestic mirror.
Second, Adt-bundle installation
1, after downloading, select a good folder directly decompression adt-bundle-linux-x86-20131030
2, get a adt-bundle-linux-x86-20131030, actually open the Eclipse folder within the e
Android BinderAndroid Interprocess CommunicationThorsten SchreiberFirst Advisor: Juraj somorovskySecond Advisor: Daniel Bu beta Meyer
When reading the android binder document, read:
1. the privileged level is called ring in English and must be supported by hardware. Intel hardware implements four privileged levels. Linux uses only 0 and 3.
2.
we're compiling an executable program.
Five. Refer to how to compile the module in the Android source code separately, using the MMM command to compile:
user-name@machine-name:~/android$ mmm./external/hello
After the compilation is successful, you can see the executable file in the Out/target/product/gerneric/system/bin directory hello.
Six. Repackage the Android
/target/product/gerneric/system/bin directory.Six. RePack Android system files System.img:[email protected]:~/android$ make Snod This way, the repackaged system.img file contains the hello executable file that was just compiled.Seven. Run the emulator and use the/system/bin/hello executable to access the Linux kernel d
Configuration of the Android environment in Linux (centos.
Building an Android environment in Linux has been running Linux for the past few days. Seeing a popular android environment recently, I tried to build an
Android system information retrieval: Linux kernel Version Information Retrieval
The Android system is based on Linux, and the Linux versions of each Android version are different. We will not investigate the
At first, we wanted to write an example of the difference between Pthread_mutex_lock and Pthread_mutex_trylock. On the Linux machine soon over, but think about it, Pthread is a UNIX department, in Windows no way to directly run the code is very inconvenient. So think of Android,windows installed NDK, mobile root can run
I have read some good articles, and I have written them very well. Let's take a closer look.
From: http://blog.csdn.net/lizhiguo0532/article/details/6453581
Note:
1. Based on Linux 2.6.32 and Android 2.2, only support SDR (MEM ).
2. References:
Http://2695477.blog.51cto.com/blog/2685477/484751
Http://www.docin.com/p-115475680.html
Http://blogold.chinaunix.net/u3/113927/showart_2447111.html
Http://www.cnmsd
Android is Google open source software Linux, composed of operating systems, middleware, user interface and application software, claiming to be the first truly open and complete mobile software for mobile devices. Select Linux (i386). Because the SDK is only 32-bit, if you are installing a 64-bit system, install Ia32-libs and
Linux Mint installs, configures and builds Android source compilation environmentHave used Ubuntu, now want to change Linux mint try. Here is the process I installed to configure Linux Mint13.1. InstallationWhen I installed LinuxMint13, I tried several ways and failed. Finally, a hard disk installation is selected. Har
Compare the android Linux kernel downloaded from Google's official website (http://code.google.com/p/android/downloads/list) with the standard Linux 2.6.25 version of kernel, the android system kernel mainly adds the following content:
1. Add the gold-fish platform based on
-arm/usr/include: $PATHExport Ar=arm-linux-androideabi-arExport CC=ARM-LINUX-ANDROIDEABI-GCCExport cxx=arm-linux-androideabi-g++Export link=arm-linux-androideabi-g++Export Platform=androidHere we will set the environment variables inside the android-gen.sh set up manually ag
: 0002 Linux Foundation 2.0 Root HubBus 002 device 001: Id 1d6b: 0001 Linux Foundation 1.1 Root HubBus 001 device 001: Id 1d6b: 0001 Linux Foundation 1.1 Root HubBus 004 device 004: Id 093a:2510 Pixart imaging, Inc.Bus 004 device 001: Id 1d6b: 0001 Linux Foundation 1.1 Root Hub
Here I am:
Bus 007 device 009: I
The following content is a summary after reading a lot of articles and a lot of attempts, as well as notes that may be repeated in the future. links are added to the referenced content. welcome to the discussion. first, download and compile the Android source code, which requires you to install Linux.
The following content is a summary after reading a lot of articles and a lot of attempts, as well as notes
Recently in the exploration of Android source code and ROM, was fortunate to buy a book with online to see some of the tutorial, first do some notes, in case of a rainy days ...1. Learn about Git and repo2. Environment configurationThe first is definitely the JDK and SDK installation, online tutorials A lot, you can also refer to Google's official offer: https://source.android.com/source/initializing.html(a) Installing Git and curl:Apt-get Install Git
rules are the same as those in Linux.
Mkdir android_sdk_src: create a directory for storing the Android SDK source files
Cd android_sdk_src: Enter the new directory
Git clone git: // android.git.kernel.org/platform/frameworks/base.git download Android SDK source code
Attached Android Resource Distribution Description:
is successfully installed
Ii. Install androidsdk
1. Extract,Tar-zxvf android-sdk_r12-linux_x86.tgz
2. UseAndroid-sdk-linux_x86/tools/androidRun Android SDK and AVD manager, click avaliable packages, select the desired version, and click Install selected to install it. After installation, click virtual delives to create an android virtual machine
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.