Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Download Google Android source code under Ubuntu 4.4     - CentOS7 Minimal minimize installation and then install the GNOME graphical interface (Linux)

- Linux file and directory management - ls, cp, mv (Linux)

- Linux batch copy data script (Linux)

- 8 Docker knowledge you may not know (Server)

- Analyzing Linux server architecture is 32-bit / 64-bit (Server)

- Java Set and List in the relationship and difference (Programming)

- CentOS7 virtual machine starts appear Permission denied (Linux)

- How x2go set up Remote Desktop on Linux (Linux)

- To setup Cocos2dx project under Ubuntu (Linux)

- Modular JavaScript (Programming)

- Graphics of Java Tools (Programming)

- There are three ways to run a Linux operating system from a USB stick (Linux)

- CentOS install video converter FFmpeg and cutting tools segmenter (Linux)

- Linux operating system ARP Spoofing Defense (Linux)

- Under CentOS using yum command to install the Task Scheduler crontab (Linux)

- How to install PlayOnLinux 4.2.5 under Ubuntu 14.04 / 12.04 (Linux)

- CentOS 6.5 / 6.6 modify the default SSH port number (Linux)

- Disk partition MBR (Linux)

- SolrCloud-5.2.1 cluster deployment and testing (Server)

- impdp error ORA-39001, ORA-39000, ORA-31619 (Database)

 
         
  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:      
 
- Linux initialization init systems - Systemd (Linux)
- Use Git in Eclipse (Linux)
- Linux + Apache + PHP + Oracle based environment to build (Server)
- Use LVM partition on Ubuntu and easily adjust the snapshot (Linux)
- Use Ansible to bulk manage remote servers (Server)
- Linux compiler of GCC (Linux)
- stat - Get more information than ls (Linux)
- Java Foundation - Variables and data types (Programming)
- MySQL multi-master-slave synchronization (Database)
- Spark On YARN cluster installation deployment (Server)
- Linux file permissions chmod chown (Linux)
- MySQL and MariaDB new master from the cluster configuration GTID (Database)
- Hunk / Hadoop: Performance Best Practices (Server)
- Spring next ActiveMQ combat (Programming)
- Red Flag Linux Desktop 6.0 hard disk installation guide (Programming)
- ORA-04091 and Compound Trigger (Oracle 11g) (Database)
- ORA-12547: TNS: lost contact error Solution (Database)
- When should I use Angular 2 (Programming)
- J2EE Example of Filter (Programming)
- You must ask yourself four questions before deploying Docker (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.