Before analyzing the Android source code, you must first learn how to download and compile the system. This chapter will give the reader a complete view of the Android source download process, common problems and processing methods, and from the developer's perspective to understand how to properly compile the Android system (including the original ecosystem and custom equipment).Later, we will go deep into the analysis of the compilation script on this basis. In the spirit of "discovering" to r
Document directory
Linux
Mac OS X
Get Android source code
This document describes how to set up your local work environment, how to use repo to get the android files, and how to build the files on your machine.
Related reading:
For an overview of the entire code-Review and code-update process, see life of a patch.
For reference details About Repo, see using rep
By default, there is no. Repo file in rhel6. You need to write one yourself.
Before using yum for installation, you must configure the yum source. If you cannot connect to the Internet, you can use a DVD or ISO file as the local Yum source. The following uses rhel6.0 as an example. Other versions are similar.
1. Create an ISO file storage directory (/repo/ISO) and an ISO file Mount directory (/
There are two methods to configure yum. One is to directly configure Yum under the/etc directory. CONF file, the other is in/etc/yum. repos. d directory. repo file.
1. Yum configuration file
$ CAT/etc/yum. conf
[Main]Cachedir =/var/Cache/Yum # cache directory of the RPM package downloaded by yumKeepcache = 0 # Whether the cache is saved, 1 is saved, and 0 is not saved.Debuglevel = 2 # debug level (0-10). The default value is 2 (I do not know
From: http://blog.jobbole.com/53573/Work steps I will show you the following steps, usually helping me to do projects on one or more machines on my own.
Create a remote, empty code base (on BitBucket)
Add a project to the local code base
Develop new features on the branch
A) keep new features or b) discard them
Perhaps, back to an earlier point in time
To push the local code base to the remote code base
Get the remote
do not need to be synchronized into the corresponding file, one directory per line
For example:
VI exclude_epel.list
4 /
4as /
4es /
4ws /
: wq! #Save and exit
Iv. Adding scripts to perform tasks regularly
Vi / etc / crontab #Add the following code to the last line
0 1 * * * root / home / crontab / yum_rsync.sh #Set the script to run every day at 1am
: wq! #Save and exit
Service Crond Restart #Restart
Test article:
First, install rsync synchronization software
Yum Install rsync xinetd #Install
the specific error Baidu on the line.
Of course, can also expand the hard disk later specific methods can refer to my blog below.
Two Install dependent tools
Install Repo
(1) Repo is based on git based development, can understand git as a Linux command and repo equivalent to the pace of the collection git command, which can help you git all the necessary files,
Here are two ways of doing it;One, using Git command-lineSecond, the use of GUI tools Sourcetree, the function is very powerful, very convenientBefore installing, git, like SVN, needs to create a server that can create its own version Management Server. For individuals and small teams, it may be more appropriate to use a managed server,Common to have GitHub and bitbucket. Here I introduce the next bitbucket
1. Open Sourcetree, enter settings-account;2. Choose Add Account, host select BitBucket (or github), connect account, login to existing BitBucket account (or GitHub account), save3. After successful connection, on the second step of the page will show your account name, SSH key under a "Copy to Clipboard" button, click to copy SSH key;4. Enter the BitBucket offic
process #62735 is not running!Starting MySQL........ SUCCESS! #重启数据库[[emailprotected] ~]# mysql -u root -pEnter password: mysql> change master to master_host=‘192.168.58.130‘,master_user=‘myslave‘,master_password=‘123456‘,master_log_file=‘master-bin.000001‘,master_log_pos=338#指定主服务器,登录账号和密码,同步文件和文件偏移量mysql> start slave;Query OK, 0 rows affected (0.28 sec)#开启slave同步功能mysql> show slave status\G;You can see the master-slave synchronization is successful, do a validation on the primary database to
process #62735 is not running!Starting MySQL........ SUCCESS! #重启数据库[[emailprotected] ~]# mysql -u root -pEnter password: mysql> change master to master_host=‘192.168.58.130‘,master_user=‘myslave‘,master_password=‘123456‘,master_log_file=‘master-bin.000001‘,master_log_pos=338#指定主服务器,登录账号和密码,同步文件和文件偏移量mysql> start slave;Query OK, 0 rows affected (0.28 sec)#开启slave同步功能mysql> show slave status\G;You can see the master-slave synchronization is successful, do a validation on the primary database to
Due to recent work, we need to port Android x86 (arm> x86). Now we will summarize the process and problems encountered during this period, I hope to help students who are just as tortuous as I am.
Environment Introduction:
1. Ubuntu 8.04: others may have updated versions. I use 8.04 myself.
2. VMWare: Virtual Machine
3. Network Environment
Preparations:
1. There are many online tutorials for installing Ubuntu 8.04 on Vmware.
2. Configure some development tools for Ubuntu, you can refer to the
with ADB, push the bimage directly to the Linux directory of the Mount node and replace the Bimage:ADB push Bimage/mnt/nand/linux3>. Sync rebootADB shellSyncReboot7.git and Repo basic commands---------------------------------------------------------------------------------Repo========================1>. Repo status-View all git statuses under project2>.
Android L downloadAndroid L has finally come out, so we can download it for a while, so how can we get the latest L branch?Summary by following the dummies steps (Linux Ubuntu)1. Get the repo File(1) curl https://storage.googleapis.com/git-repo-downloads/repo> ~ /Bin/repo(2). chmod a + x ~ /Bin/
Android L download and androidl downloadAndroid L has finally come out, so we can download it for a while, so how can we get the latest L branch?Summary by following the dummies steps (Linux Ubuntu)1. Get the repo File(1) curl https://storage.googleapis.com/git-repo-downloads/repo> ~ /Bin/repo(2). chmod a + x ~ /Bin/
storage returns the data to the API server and then encodes it into JSON format and returns it to the web Front-End Server, the front-end uses the Go html/template package to display and format the data into HTML.
The frame chart is as follows: For more details, see recap of our Google I/O talk about building a large-scale code search engine in Go .)
Test v0
When we first started building Sourcegraph, we wrote the test in the easiest way to run. Each test enters the database and initiates an h
Touch Android dual-System Installation Method
Enable dual-boot for Ubuntu and Android 4.4.2 on Nexus
Configure the Android SDK development environment in Ubuntu 14.04
Build the Android development environment under 64-bit Ubuntu 11.10 (JDK + Eclipse + ADT + Android SDK details)
How to configure the compiling environment of Android 14.04 kitkat on Ubuntu 4.4 x64
Install Android SDK on Ubuntu 12.10x64
The following describes the download steps and solutions to problems.
1. Install
1. Obtain the android source code
Git is an open source distributed version control software developed by Linux Torvalds (father of Linux) to help manage Linux kernel development. It is different from the centralized version control system like Subversion and CVS. In a centralized version control system, there is only one warehouse (repository) and many working directories (working copy ), in distributed version control systems such as git (other major distributed version control systems include
Nilly
View Profile
More options Dec 15 2009, PM
From:
Nilly @ Oriolesoftware.com>Date:
Tue, 15 Dec 2009 03:13:44-0800 (PST)Local:
Tues, Dec 15 2009 pmSubject:
Re: Android for omap3 with gstreamer IntegrationReply to author
|
Forward
| Print
| View thread
| Show Original
| Report this message
| Find messages by this author
Partha,
Sorry for late reply...No its not helping,
Nilam @ ubuntu-2 :~ /Bin/omap3droid $
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.