Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Download Google Android source code under Ubuntu 4.4     - Linux System Getting Started Learning: The Linux ac command (Linux)

- Linux kernel VLAN study notes (Programming)

- RAID disk array Description (Linux)

- Java rewrite equals method (Programming)

- Ubuntu compiler installation R Full Record (Linux)

- C language binary tree (Programming)

- Package the Python script file into an executable file (Programming)

- Elasticsearch 2.20 Highlight (Server)

- Oracle10g 64-bit installation solution in Windows 2008 Server R2 (Database)

- Dynamic programming Android (Programming)

- CentOS 6.6 install JDK7 (Linux)

- PostgreSQL vacuum principle of a function and parameters (Database)

- Ten best plug surge Emacs Productivity (Linux)

- Wireless LAN security solutions (Linux)

- Github inventory objects Algorithm (Linux)

- Programmer editor Vim (Linux)

- Based Docker build stand-alone high-availability cluster Hadoop2.7.1 Spark1.7 (Server)

- Deepin Tutorial: Depth Description Installer expert mode (Linux)

- Iptables on the request URL for IP access control (Linux)

- Using monitoring tool dsniff (Linux)

 
         
  Download Google Android source code under Ubuntu 4.4
     
  Add Date : 2018-11-21      
         
         
         
  Install Cygwin under Windows, Windows via Cygwin can also be downloaded through the steps in this article to download the Android source code.

Here is the source code download Google Android4.4 under Ubuntu step:

 1. Install curl and git
 sudo apt-get install curl
 sudo apt-get install git-core
 
2 Installation Repo
 a) establish Repo installation directory, configuration environment variable
 $ Mkdir ~ / bin
 $ PATH = ~ / bin: $ PATH
  b) Get Repo tool
 $ Curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo> ~ / bin / repo
  Question: The above is a Google developed repo get the address, but may fail to obtain.
  The solution: online users are given access to an alternative address, in case of being given alternative available at the following address:
  curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo"> ~ / bin / repo (I use this available)
 Then change the permissions:
 $ Chmod a + x ~ / bin / repo
  
 3 Establish and enter the source code download directory
 $ Mkdir WORKING_DIRECTORY
 $ Cd WORKING_DIRECTORY
 
Download Source Repo 4 initialize
  Download the latest case of the current code, then:
  repo init -u https://android.googlesource.com/platform/manifest
  If so download a specific version of Android mature branch code, plus -b parameters, such as the current release of the latest android 4.4 branch of code:
  repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.1_r1
  Commands such as the successful implementation period will be asked to enter unsername and email, direct input your own custom user name and email can be.
 
5 Synchronization complete source code for
 $ Repo sync
  Question: command execution may be given:
 fatal: '../platform/abi/cpp.git' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly
  error: Can not fetch platform / abi / cpp
  Solution:
  Enter WORKING_DIRECTORY, show hidden files, you can see .repo directory and open manifest.xml, find fetch properties and revised as follows:
  fetch = "git: //Android.git.linaro.org
  
  repo sync command is generally not a one-time success in the implementation process, there are other way may time out or fail, then you can simply execute repo sync again, the previous record will be cached.
     
         
         
         
  More:      
 
- How to make Linux a non-root user uses less than 1024 ports (Linux)
- JBPM6 Tutorial - Fast Fun JBPM table (Linux)
- After CentOS configure SSH password Free, still prompted for a password (Linux)
- Linux find command detailing (Linux)
- Easy to install CentOS 6.6 desktop environment (Linux)
- Spark source code compiler package (Linux)
- Getting Started with Linux system to learn: How to compress JPEG images on the command line (Linux)
- How to add a new hard disk without restarting the CentOS 7 / RHEL 7 virtual machine (Linux)
- Mac Docker deploy development environment (Server)
- CentOS install pip (Linux)
- Ubuntu Linux installation GAMIT10.6 (Linux)
- Use Linux built-in firewall to improve network access control (Linux)
- Use pg_basebackup build PostgreSQL streaming replication environment (Database)
- Packages with Snort intrusion monitoring light (Linux)
- Permissions and attributes of files and directories under Linux (Linux)
- Oracle table space usage monitoring (Database)
- Python script running in the background (Programming)
- Port Telnet command to detect the remote host is turned on (Linux)
- Spring MVC Exception Handling (Programming)
- OpenWrt modify flash size (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.